comparison graal/com.oracle.truffle.ruby.nodes/src/com/oracle/truffle/ruby/nodes/core/CoreMethodNodeManager.java @ 13736:64fa70319890

Merge with 9161ed8ce7964ca3df5e91894522b207a2bc4a3e
author Michael Van De Vanter <michael.van.de.vanter@oracle.com>
date Wed, 22 Jan 2014 21:34:00 -0800
parents fbf448929260 232eb6708943
children 22bf5a8ba9eb
comparison
equal deleted inserted replaced
13735:2c1c805153e6 13736:64fa70319890
172 172
173 final RubyNode methodNode = methodDetails.getNodeFactory().createNode(context, sourceSection, argumentsNodes.toArray(new RubyNode[argumentsNodes.size()])); 173 final RubyNode methodNode = methodDetails.getNodeFactory().createNode(context, sourceSection, argumentsNodes.toArray(new RubyNode[argumentsNodes.size()]));
174 final CheckArityNode checkArity = new CheckArityNode(context, sourceSection, arity); 174 final CheckArityNode checkArity = new CheckArityNode(context, sourceSection, arity);
175 final SequenceNode block = new SequenceNode(context, sourceSection, checkArity, methodNode); 175 final SequenceNode block = new SequenceNode(context, sourceSection, checkArity, methodNode);
176 176
177 return new RubyRootNode(sourceSection, methodDetails.getClassAnnotation().name() + "#" + methodDetails.getMethodAnnotation().names()[0] + "(core)", block); 177 return new RubyRootNode(sourceSection, null, methodDetails.getClassAnnotation().name() + "#" + methodDetails.getMethodAnnotation().names()[0] + "(core)", block);
178 } 178 }
179 179
180 public static class MethodDetails { 180 public static class MethodDetails {
181 181
182 private final CoreClass classAnnotation; 182 private final CoreClass classAnnotation;