Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2013, 2015 Oracle and/or its affiliates. All rights reserved. This
* Copyright (c) 2013, 2016 Oracle and/or its affiliates. All rights reserved. This
* code is released under a tri EPL/GPL/LGPL license. You can use it,
* redistribute it and/or modify it under the terms of the:
*
@@ -146,14 +146,6 @@ private RubyRootNode parse(Node currentNode, RubyContext context, Source source,
}
}

// Get the DATA constant

final Object data = getData(context);

if (data != null) {
Layouts.MODULE.getFields(context.getCoreLibrary().getObjectClass()).setConstant(context, currentNode, "DATA", data);
}

// Translate to Ruby Truffle nodes

final BodyTranslator translator = new BodyTranslator(currentNode, context, null, environment, source, parserContext == ParserContext.TOP_LEVEL);

0 comments on commit d5e5b2b

Please sign in to comment.