Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.ruby.runtime/src/com/oracle/truffle/ruby/runtime/configuration/Configuration.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 |
comparison
equal
deleted
inserted
replaced
13658:50c11b9a7fdf | 13659:62bfc12dc9e1 |
---|---|
32 private final boolean fullObjectSpace; | 32 private final boolean fullObjectSpace; |
33 | 33 |
34 private final boolean printParseTree; | 34 private final boolean printParseTree; |
35 private final boolean printUninitializedCalls; | 35 private final boolean printUninitializedCalls; |
36 private final boolean printJavaExceptions; | 36 private final boolean printJavaExceptions; |
37 private final boolean printRubyExceptions; | |
38 | 37 |
39 private final PrintStream standardOut; | 38 private final PrintStream standardOut; |
40 private final InputReader inputReader; | 39 private final InputReader inputReader; |
41 | 40 |
42 public Configuration(ConfigurationBuilder builder) { | 41 public Configuration(ConfigurationBuilder builder) { |
56 fullObjectSpace = builder.getFullObjectSpace(); | 55 fullObjectSpace = builder.getFullObjectSpace(); |
57 | 56 |
58 printParseTree = builder.getPrintParseTree(); | 57 printParseTree = builder.getPrintParseTree(); |
59 printUninitializedCalls = builder.getPrintUninitializedCalls(); | 58 printUninitializedCalls = builder.getPrintUninitializedCalls(); |
60 printJavaExceptions = builder.getPrintJavaExceptions(); | 59 printJavaExceptions = builder.getPrintJavaExceptions(); |
61 printRubyExceptions = builder.getPrintRubyExceptions(); | |
62 | 60 |
63 standardOut = builder.getStandardOut(); | 61 standardOut = builder.getStandardOut(); |
64 inputReader = builder.getInputReader(); | 62 inputReader = builder.getInputReader(); |
65 } | 63 } |
66 | 64 |
110 | 108 |
111 public boolean getPrintJavaExceptions() { | 109 public boolean getPrintJavaExceptions() { |
112 return printJavaExceptions; | 110 return printJavaExceptions; |
113 } | 111 } |
114 | 112 |
115 public boolean getPrintRubyExceptions() { | |
116 return printRubyExceptions; | |
117 } | |
118 | |
119 public PrintStream getStandardOut() { | 113 public PrintStream getStandardOut() { |
120 return standardOut; | 114 return standardOut; |
121 } | 115 } |
122 | 116 |
123 public InputReader getInputReader() { | 117 public InputReader getInputReader() { |