Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.truffle.ruby.shell/src/com/oracle/truffle/ruby/shell/Shell.java @ 14095:cf16ff2dba69
Ruby/Instrumentation: class rename
author | Michael Van De Vanter <michael.van.de.vanter@oracle.com> |
---|---|
date | Tue, 04 Feb 2014 11:17:09 -0800 |
parents | 3f27e57439ed |
children |
comparison
equal
deleted
inserted
replaced
14094:3f27e57439ed | 14095:cf16ff2dba69 |
---|---|
73 // Set up a context | 73 // Set up a context |
74 | 74 |
75 final RubyContext context = new RubyContext(new Configuration(configurationBuilder), new JRubyParser()); | 75 final RubyContext context = new RubyContext(new Configuration(configurationBuilder), new JRubyParser()); |
76 | 76 |
77 // Ruby should always have a debug context. | 77 // Ruby should always have a debug context. |
78 context.setDebugContext(new MinimumRubyDebugContext(context)); | 78 context.setDebugContext(new MinimalRubyDebugContext(context)); |
79 | 79 |
80 // Bring in core method nodes | 80 // Bring in core method nodes |
81 | 81 |
82 CoreMethodNodeManager.addMethods(context.getCoreLibrary().getObjectClass()); | 82 CoreMethodNodeManager.addMethods(context.getCoreLibrary().getObjectClass()); |
83 | 83 |