Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.ruby.runtime/src/com/oracle/truffle/ruby/runtime/configuration/ConfigurationBuilder.java @ 13659:62bfc12dc9e1
Ruby: more tidy up.
author | Chris Seaton <chris.seaton@oracle.com> |
---|---|
date | Wed, 15 Jan 2014 19:54:48 +0000 |
parents | 50c11b9a7fdf |
children | 6f9ce155dcfa |
comparison
equal
deleted
inserted
replaced
13658:50c11b9a7fdf | 13659:62bfc12dc9e1 |
---|---|
37 private boolean fullObjectSpace = false; | 37 private boolean fullObjectSpace = false; |
38 | 38 |
39 private boolean printParseTree = false; | 39 private boolean printParseTree = false; |
40 private boolean printUninitializedCalls = false; | 40 private boolean printUninitializedCalls = false; |
41 private boolean printJavaExceptions = false; | 41 private boolean printJavaExceptions = false; |
42 private boolean printRubyExceptions = false; | |
43 | 42 |
44 private PrintStream standardOut = System.out; | 43 private PrintStream standardOut = System.out; |
45 | 44 |
46 private InputReader inputReader = new InputReader() { | 45 private InputReader inputReader = new InputReader() { |
47 | 46 |
75 fullObjectSpace = configuration.getFullObjectSpace(); | 74 fullObjectSpace = configuration.getFullObjectSpace(); |
76 | 75 |
77 printParseTree = configuration.getPrintParseTree(); | 76 printParseTree = configuration.getPrintParseTree(); |
78 printUninitializedCalls = configuration.getPrintUninitializedCalls(); | 77 printUninitializedCalls = configuration.getPrintUninitializedCalls(); |
79 printJavaExceptions = configuration.getPrintJavaExceptions(); | 78 printJavaExceptions = configuration.getPrintJavaExceptions(); |
80 printRubyExceptions = configuration.getPrintRubyExceptions(); | |
81 | 79 |
82 standardOut = configuration.getStandardOut(); | 80 standardOut = configuration.getStandardOut(); |
83 } | 81 } |
84 | 82 |
85 public String getStandardLibrary() { | 83 public String getStandardLibrary() { |
179 | 177 |
180 public void setPrintJavaExceptions(boolean printJavaExceptions) { | 178 public void setPrintJavaExceptions(boolean printJavaExceptions) { |
181 this.printJavaExceptions = printJavaExceptions; | 179 this.printJavaExceptions = printJavaExceptions; |
182 } | 180 } |
183 | 181 |
184 public boolean getPrintRubyExceptions() { | |
185 return printRubyExceptions; | |
186 } | |
187 | |
188 public void setPrintRubyExceptions(boolean printRubyExceptions) { | |
189 this.printRubyExceptions = printRubyExceptions; | |
190 } | |
191 | |
192 public PrintStream getStandardOut() { | 182 public PrintStream getStandardOut() { |
193 return standardOut; | 183 return standardOut; |
194 } | 184 } |
195 | 185 |
196 public void setStandardOut(PrintStream standardOut) { | 186 public void setStandardOut(PrintStream standardOut) { |