comparison graal/com.oracle.truffle.ruby.parser/src/com/oracle/truffle/ruby/parser/JRubyParser.java @ 13732:fbf448929260

Ruby: remove some prototyping code no longer needed
author Michael Van De Vanter <michael.van.de.vanter@oracle.com>
date Sat, 18 Jan 2014 22:12:42 -0800
parents 497fada09efb
children 2c1c805153e6
comparison
equal deleted inserted replaced
13684:72f85504e79e 13732:fbf448929260
1 /* 1 /*
2 * Copyright (c) 2013 Oracle and/or its affiliates. All rights reserved. This 2 * Copyright (c) 2013, 2014 Oracle and/or its affiliates. All rights reserved. This
3 * code is released under a tri EPL/GPL/LGPL license. You can use it, 3 * code is released under a tri EPL/GPL/LGPL license. You can use it,
4 * redistribute it and/or modify it under the terms of the: 4 * redistribute it and/or modify it under the terms of the:
5 * 5 *
6 * Eclipse Public License version 1.0 6 * Eclipse Public License version 1.0
7 * GNU General Public License version 2 7 * GNU General Public License version 2
19 import com.oracle.truffle.ruby.nodes.literal.*; 19 import com.oracle.truffle.ruby.nodes.literal.*;
20 import com.oracle.truffle.ruby.nodes.methods.*; 20 import com.oracle.truffle.ruby.nodes.methods.*;
21 import com.oracle.truffle.ruby.runtime.*; 21 import com.oracle.truffle.ruby.runtime.*;
22 import com.oracle.truffle.ruby.runtime.control.*; 22 import com.oracle.truffle.ruby.runtime.control.*;
23 import com.oracle.truffle.ruby.runtime.core.*; 23 import com.oracle.truffle.ruby.runtime.core.*;
24 import com.oracle.truffle.ruby.runtime.debug.*;
25 import com.oracle.truffle.ruby.runtime.methods.*; 24 import com.oracle.truffle.ruby.runtime.methods.*;
26 25
27 public class JRubyParser implements RubyParser { 26 public class JRubyParser implements RubyParser {
28 27
29 private long nextReturnID = 0; 28 private long nextReturnID = 0;
98 translator = new Translator(context, null, environment, source); 97 translator = new Translator(context, null, environment, source);
99 } 98 }
100 99
101 RubyNode truffleNode; 100 RubyNode truffleNode;
102 101
103 final RubyDebugManager debugManager = context.getDebugManager(); 102 final DebugManager debugManager = context.getDebugManager();
104 try { 103 try {
105 if (debugManager != null) { 104 if (debugManager != null) {
106 debugManager.notifyStartLoading(source); 105 debugManager.notifyStartLoading(source);
107 } 106 }
108 107