summaryrefslogtreecommitdiff
path: root/sources/scalac/backend/Primitives.java
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2003-02-21 09:25:55 +0000
committerpaltherr <paltherr@epfl.ch>2003-02-21 09:25:55 +0000
commitdc22952ef455985987e81defeb026a09280f7136 (patch)
treef5c3fcacc76cdf103a67cc8182478596bcccfb8a /sources/scalac/backend/Primitives.java
parent1b4875af97a01e8f969870f52791ee35a3f5fe36 (diff)
downloadscala-dc22952ef455985987e81defeb026a09280f7136.tar.gz
scala-dc22952ef455985987e81defeb026a09280f7136.tar.bz2
scala-dc22952ef455985987e81defeb026a09280f7136.zip
- Added field RUNTIME_TYPE
Diffstat (limited to 'sources/scalac/backend/Primitives.java')
-rw-r--r--sources/scalac/backend/Primitives.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/sources/scalac/backend/Primitives.java b/sources/scalac/backend/Primitives.java
index af5f86c5d6..74b4965110 100644
--- a/sources/scalac/backend/Primitives.java
+++ b/sources/scalac/backend/Primitives.java
@@ -103,6 +103,7 @@ public class Primitives {
private final Map/*<Symbol,Primitive>*/ primitives;
public final Symbol RUNTIME;
+ public final Type RUNTIME_TYPE;
public final Symbol NEW_ZARRAY;
public final Symbol NEW_BARRAY;
@@ -190,6 +191,8 @@ public class Primitives {
this.definitions = global.definitions;
this.primitives = new HashMap();
this.RUNTIME = definitions.getModule(Names.scala_runtime_RunTime);
+ this.RUNTIME_TYPE =
+ Type.singleType(definitions.SCALARUNTIME_TYPE, RUNTIME);
this.NEW_ZARRAY = getUniqueTerm(RUNTIME, ZARRAY_N);
this.NEW_BARRAY = getUniqueTerm(RUNTIME, BARRAY_N);
this.NEW_SARRAY = getUniqueTerm(RUNTIME, SARRAY_N);