diff truffle/com.oracle.truffle.sl/src/com/oracle/truffle/sl/SLLanguage.java @ 22070:a7ca9e9a1d51

Removing VirtualFrame parameter. Documenting.
author Jaroslav Tulach <jaroslav.tulach@oracle.com>
date Thu, 06 Aug 2015 18:08:27 +0200
parents fec8f8a61f6c
children cf19259edf87
line wrap: on
line diff
--- a/truffle/com.oracle.truffle.sl/src/com/oracle/truffle/sl/SLLanguage.java	Thu Aug 06 17:29:43 2015 +0200
+++ b/truffle/com.oracle.truffle.sl/src/com/oracle/truffle/sl/SLLanguage.java	Thu Aug 06 18:08:27 2015 +0200
@@ -403,7 +403,7 @@
                     throw new IllegalStateException(failed[0]);
                 }
                 Node n = createFindContextNode();
-                SLContext fillIn = findContext(n, null);
+                SLContext fillIn = findContext(n);
                 final SLFunctionRegistry functionRegistry = fillIn.getFunctionRegistry();
                 for (SLFunction f : c.getFunctionRegistry().getFunctions()) {
                     RootCallTarget callTarget = f.getCallTarget();
@@ -496,6 +496,10 @@
         return createFindContextNode();
     }
 
+    public SLContext findContext0(Node contextNode) {
+        return findContext(contextNode);
+    }
+
     private final class SLDebugProvider implements DebugSupportProvider {
 
         public SLDebugProvider() {