Skip to content
Snippets Groups Projects
Commit 5599f8b6 authored by Adam Welc's avatar Adam Welc
Browse files

Updated to work with the newest version of Graal.

parent 3b13f38e
No related branches found
No related tags found
No related merge requests found
......@@ -76,7 +76,7 @@ public final class REngine {
* value cannot be stored in an object field, so must be passed as an argument.
*/
public static VirtualFrame createVirtualFrame() {
return new DefaultVirtualFrame(new FrameDescriptor(), null, RArguments.create());
return Truffle.getRuntime().createVirtualFrame(null, RArguments.create(), new FrameDescriptor());
}
public Object parseAndEval(File file, boolean printResult) throws IOException {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment