comparison graal/com.oracle.truffle.ruby.runtime/src/com/oracle/truffle/ruby/runtime/RubyContext.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 50c11b9a7fdf
children 2c1c805153e6
comparison
equal deleted inserted replaced
13684:72f85504e79e 13732:fbf448929260
14 14
15 import jnr.posix.*; 15 import jnr.posix.*;
16 16
17 import com.oracle.truffle.api.*; 17 import com.oracle.truffle.api.*;
18 import com.oracle.truffle.api.frame.*; 18 import com.oracle.truffle.api.frame.*;
19 import com.oracle.truffle.api.impl.*;
19 import com.oracle.truffle.api.nodes.*; 20 import com.oracle.truffle.api.nodes.*;
20 import com.oracle.truffle.api.source.*; 21 import com.oracle.truffle.api.source.*;
21 import com.oracle.truffle.ruby.runtime.configuration.*; 22 import com.oracle.truffle.ruby.runtime.configuration.*;
22 import com.oracle.truffle.ruby.runtime.control.*; 23 import com.oracle.truffle.ruby.runtime.control.*;
23 import com.oracle.truffle.ruby.runtime.core.*; 24 import com.oracle.truffle.ruby.runtime.core.*;
24 import com.oracle.truffle.ruby.runtime.debug.*;
25 import com.oracle.truffle.ruby.runtime.methods.*; 25 import com.oracle.truffle.ruby.runtime.methods.*;
26 import com.oracle.truffle.ruby.runtime.objects.*; 26 import com.oracle.truffle.ruby.runtime.objects.*;
27 import com.oracle.truffle.ruby.runtime.subsystems.*; 27 import com.oracle.truffle.ruby.runtime.subsystems.*;
28 28
29 /** 29 /**
38 private final ObjectSpaceManager objectSpaceManager; 38 private final ObjectSpaceManager objectSpaceManager;
39 private final TraceManager traceManager; 39 private final TraceManager traceManager;
40 private final ThreadManager threadManager; 40 private final ThreadManager threadManager;
41 private final FiberManager fiberManager; 41 private final FiberManager fiberManager;
42 private final AtExitManager atExitManager; 42 private final AtExitManager atExitManager;
43 private final RubyDebugManager debugManager; 43 private final DebugManager debugManager;
44 private final SourceManager sourceManager; 44 private final SourceManager sourceManager;
45 private final ASTPrinter astPrinter; 45 private final ASTPrinter astPrinter;
46 46
47 private AtomicLong nextObjectID = new AtomicLong(0); 47 private AtomicLong nextObjectID = new AtomicLong(0);
48 48
74 74
75 featureManager = new FeatureManager(this); 75 featureManager = new FeatureManager(this);
76 atExitManager = new AtExitManager(); 76 atExitManager = new AtExitManager();
77 sourceManager = new SourceManager(); 77 sourceManager = new SourceManager();
78 78
79 debugManager = configuration.getDebug() ? new RubyDebugManager(this) : null; 79 debugManager = configuration.getDebug() ? new DefaultDebugManager(this) : null;
80 80
81 // Must initialize threads before fibers 81 // Must initialize threads before fibers
82 82
83 threadManager = new ThreadManager(this); 83 threadManager = new ThreadManager(this);
84 fiberManager = new FiberManager(this); 84 fiberManager = new FiberManager(this);
86 86
87 public String getLanguageShortName() { 87 public String getLanguageShortName() {
88 return "Ruby"; 88 return "Ruby";
89 } 89 }
90 90
91 public RubyDebugManager getDebugManager() { 91 public DebugManager getDebugManager() {
92 return debugManager; 92 return debugManager;
93 } 93 }
94 94
95 public ASTPrinter getASTPrinter() { 95 public ASTPrinter getASTPrinter() {
96 return astPrinter; 96 return astPrinter;