Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.truffle.ruby.runtime/src/com/oracle/truffle/ruby/runtime/RubyContext.java @ 13658:50c11b9a7fdf
Ruby: remove some unimportant debugging flags.
author | Chris Seaton <chris.seaton@oracle.com> |
---|---|
date | Wed, 15 Jan 2014 19:33:33 +0000 |
parents | 497fada09efb |
children | 232eb6708943 fbf448929260 |
comparison
equal
deleted
inserted
replaced
13646:c318d67d132f | 13658:50c11b9a7fdf |
---|---|
167 final Source source = sourceManager.get("(shell)", code); | 167 final Source source = sourceManager.get("(shell)", code); |
168 return (ShellResult) execute(this, source, RubyParser.ParserContext.SHELL, coreLibrary.getMainObject(), existingLocals); | 168 return (ShellResult) execute(this, source, RubyParser.ParserContext.SHELL, coreLibrary.getMainObject(), existingLocals); |
169 } | 169 } |
170 | 170 |
171 public Object execute(RubyContext context, Source source, RubyParser.ParserContext parserContext, Object self, MaterializedFrame parentFrame) { | 171 public Object execute(RubyContext context, Source source, RubyParser.ParserContext parserContext, Object self, MaterializedFrame parentFrame) { |
172 if (configuration.getPrintExecutedFiles()) { | |
173 implementationMessage("executing: %s", source.getName()); | |
174 } | |
175 | |
176 try { | 172 try { |
177 final RubyParserResult parseResult = parser.parse(context, source, parserContext, parentFrame); | 173 final RubyParserResult parseResult = parser.parse(context, source, parserContext, parentFrame); |
178 final RubyArguments arguments = new RubyArguments(parentFrame, self, null); | 174 final RubyArguments arguments = new RubyArguments(parentFrame, self, null); |
179 final CallTarget callTarget = Truffle.getRuntime().createCallTarget(parseResult.getRootNode(), parseResult.getFrameDescriptor()); | 175 final CallTarget callTarget = Truffle.getRuntime().createCallTarget(parseResult.getRootNode(), parseResult.getFrameDescriptor()); |
180 | 176 |