Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/SLMain.java @ 16662:e7b7a5be4d21
Merge
author | Stefan Anzinger <stefan.anzinger@gmail.com> |
---|---|
date | Wed, 30 Jul 2014 10:39:39 -0700 |
parents | 618d92152d3c |
children | 0fc43b066eee |
comparison
equal
deleted
inserted
replaced
16661:f1fba319d4e3 | 16662:e7b7a5be4d21 |
---|---|
150 | 150 |
151 /* Parse the SL source file. */ | 151 /* Parse the SL source file. */ |
152 if (sourceCallback != null) { | 152 if (sourceCallback != null) { |
153 sourceCallback.startLoading(source); | 153 sourceCallback.startLoading(source); |
154 } | 154 } |
155 Parser.parseSL(context, source); | 155 Parser.parseSL(context, source, null); |
156 if (sourceCallback != null) { | 156 if (sourceCallback != null) { |
157 sourceCallback.endLoading(source); | 157 sourceCallback.endLoading(source); |
158 } | 158 } |
159 /* Lookup our main entry point, which is per definition always named "main". */ | 159 /* Lookup our main entry point, which is per definition always named "main". */ |
160 SLFunction main = context.getFunctionRegistry().lookup("main"); | 160 SLFunction main = context.getFunctionRegistry().lookup("main"); |