diff truffle/com.oracle.truffle.sl/src/com/oracle/truffle/sl/runtime/SLContext.java @ 22135:e70b20f4bb00

Implementing API for Java/Truffle interop. Based around JavaInterop.asJavaObject and JavaInterop.asTruffleObject methods. Connected to TruffleVM via Symbol.as(Class) wrapper. Verified by extended TCK.
author Jaroslav Tulach <jaroslav.tulach@oracle.com>
date Mon, 07 Sep 2015 17:07:20 +0200
parents 503529c65456
children 597953a8e6f0
line wrap: on
line diff
--- a/truffle/com.oracle.truffle.sl/src/com/oracle/truffle/sl/runtime/SLContext.java	Fri Sep 04 16:41:38 2015 +0200
+++ b/truffle/com.oracle.truffle.sl/src/com/oracle/truffle/sl/runtime/SLContext.java	Mon Sep 07 17:07:20 2015 +0200
@@ -88,7 +88,7 @@
         this.functionRegistry = new SLFunctionRegistry();
         installBuiltins(installBuiltins);
 
-        this.emptyShape = LAYOUT.createShape(new ObjectType());
+        this.emptyShape = LAYOUT.createShape(new SLObjectType());
     }
 
     /**