|
23 | 23 | @Generated("tool/generate-options.rb")
|
24 | 24 | public class Options {
|
25 | 25 |
|
| 26 | + /** --load-paths=new String[]{} */ |
26 | 27 | public final String[] LOAD_PATHS;
|
| 28 | + /** --required-libraries=new String[]{} */ |
27 | 29 | public final String[] REQUIRED_LIBRARIES;
|
| 30 | + /** --working-directory="" */ |
28 | 31 | public final String WORKING_DIRECTORY;
|
| 32 | + /** --debug=false */ |
29 | 33 | public final boolean DEBUG;
|
| 34 | + /** --verbose=Verbosity.FALSE */ |
30 | 35 | public final Verbosity VERBOSITY;
|
| 36 | + /** --source-encoding="" */ |
31 | 37 | public final String SOURCE_ENCODING;
|
| 38 | + /** --internal-encoding="" */ |
32 | 39 | public final String INTERNAL_ENCODING;
|
| 40 | + /** --external-encoding="" */ |
33 | 41 | public final String EXTERNAL_ENCODING;
|
| 42 | + /** --home="" */ |
34 | 43 | public final String HOME;
|
| 44 | + /** --no-home-provided=false */ |
35 | 45 | public final boolean NO_HOME_PROVIDED;
|
| 46 | + /** --launcher="" */ |
36 | 47 | public final String LAUNCHER;
|
| 48 | + /** --core-load-path="resource:/truffleruby" */ |
37 | 49 | public final String CORE_LOAD_PATH;
|
| 50 | + /** --frozen-string-literals=false */ |
38 | 51 | public final boolean FROZEN_STRING_LITERALS;
|
| 52 | + /** --rubygems=true */ |
39 | 53 | public final boolean RUBYGEMS;
|
| 54 | + /** --lazy-default=true */ |
40 | 55 | public final boolean DEFAULT_LAZY;
|
| 56 | + /** --rubygems-lazy=DEFAULT_LAZY */ |
41 | 57 | public final boolean LAZY_RUBYGEMS;
|
| 58 | + /** --patching=true */ |
42 | 59 | public final boolean PATCHING;
|
| 60 | + /** --did-you-mean=true */ |
43 | 61 | public final boolean DID_YOU_MEAN;
|
| 62 | + /** --hashing-deterministic=false */ |
44 | 63 | public final boolean HASHING_DETERMINISTIC;
|
| 64 | + /** --embedded=true */ |
45 | 65 | public final boolean EMBEDDED;
|
| 66 | + /** --platform-native=env.isNativeAccessAllowed() && true */ |
46 | 67 | public final boolean NATIVE_PLATFORM;
|
| 68 | + /** --platform-native-interrupt=NATIVE_PLATFORM */ |
47 | 69 | public final boolean NATIVE_INTERRUPT;
|
| 70 | + /** --platform-handle-interrupt=!EMBEDDED */ |
48 | 71 | public final boolean HANDLE_INTERRUPT;
|
| 72 | + /** --single-threaded=!env.isCreateThreadAllowed() || EMBEDDED */ |
49 | 73 | public final boolean SINGLE_THREADED;
|
| 74 | + /** --polyglot-stdio=EMBEDDED || !NATIVE_PLATFORM */ |
50 | 75 | public final boolean POLYGLOT_STDIO;
|
| 76 | + /** --interop-host=env.isHostLookupAllowed() && true */ |
51 | 77 | public final boolean HOST_INTEROP;
|
| 78 | + /** --trace-calls=true */ |
52 | 79 | public final boolean TRACE_CALLS;
|
| 80 | + /** --coverage-global=false */ |
53 | 81 | public final boolean COVERAGE_GLOBAL;
|
| 82 | + /** --core-as-internal=true */ |
54 | 83 | public final boolean CORE_AS_INTERNAL;
|
| 84 | + /** --stdlib-as-internal=true */ |
55 | 85 | public final boolean STDLIB_AS_INTERNAL;
|
| 86 | + /** --lazy-translation-user=false */ |
56 | 87 | public final boolean LAZY_TRANSLATION_USER;
|
| 88 | + /** --exceptions-store-java=false */ |
57 | 89 | public final boolean EXCEPTIONS_STORE_JAVA;
|
| 90 | + /** --exceptions-print-java=false */ |
58 | 91 | public final boolean EXCEPTIONS_PRINT_JAVA;
|
| 92 | + /** --exceptions-print-uncaught-java=false */ |
59 | 93 | public final boolean EXCEPTIONS_PRINT_UNCAUGHT_JAVA;
|
| 94 | + /** --exceptions-print-ruby-for-java=false */ |
60 | 95 | public final boolean EXCEPTIONS_PRINT_RUBY_FOR_JAVA;
|
| 96 | + /** --exceptions-translate-assert=true */ |
61 | 97 | public final boolean EXCEPTIONS_TRANSLATE_ASSERT;
|
| 98 | + /** --exceptions-warn-stackoverflow=true */ |
62 | 99 | public final boolean EXCEPTIONS_WARN_STACKOVERFLOW;
|
| 100 | + /** --exceptions-warn-out-of-memory=true */ |
63 | 101 | public final boolean EXCEPTIONS_WARN_OUT_OF_MEMORY;
|
| 102 | + /** --backtraces-hide-core-files=true */ |
64 | 103 | public final boolean BACKTRACES_HIDE_CORE_FILES;
|
| 104 | + /** --backtraces-interleave-java=false */ |
65 | 105 | public final boolean BACKTRACES_INTERLEAVE_JAVA;
|
| 106 | + /** --backtraces-limit=9999 */ |
66 | 107 | public final int BACKTRACES_LIMIT;
|
| 108 | + /** --backtraces-omit-unused=true */ |
67 | 109 | public final boolean BACKTRACES_OMIT_UNUSED;
|
| 110 | + /** --backtraces-on-interrupt=false */ |
68 | 111 | public final boolean BACKTRACE_ON_INTERRUPT;
|
| 112 | + /** --backtraces-sigalrm=!EMBEDDED */ |
69 | 113 | public final boolean BACKTRACE_ON_SIGALRM;
|
| 114 | + /** --backtraces-raise=false */ |
70 | 115 | public final boolean BACKTRACE_ON_RAISE;
|
| 116 | + /** --cexts=true */ |
71 | 117 | public final boolean CEXTS;
|
| 118 | + /** --cexts-lock=true */ |
72 | 119 | public final boolean CEXT_LOCK;
|
| 120 | + /** --cexts-remap=new String[]{} */ |
73 | 121 | public final String[] CEXTS_LIBRARY_REMAP;
|
| 122 | + /** --options-log=false */ |
74 | 123 | public final boolean OPTIONS_LOG;
|
| 124 | + /** --log-load=false */ |
75 | 125 | public final boolean LOG_LOAD;
|
| 126 | + /** --log-autoload=false */ |
76 | 127 | public final boolean LOG_AUTOLOAD;
|
| 128 | + /** --log-feature-location=false */ |
77 | 129 | public final boolean LOG_FEATURE_LOCATION;
|
| 130 | + /** --cexts-log-load=false */ |
78 | 131 | public final boolean CEXTS_LOG_LOAD;
|
| 132 | + /** --cexts-log-warnings=false */ |
79 | 133 | public final boolean CEXTS_LOG_WARNINGS;
|
| 134 | + /** --argv-globals=false */ |
80 | 135 | public final boolean ARGV_GLOBALS;
|
| 136 | + /** --ignore-lines-before-ruby-shebang=false */ |
81 | 137 | public final boolean IGNORE_LINES_BEFORE_RUBY_SHEBANG;
|
| 138 | + /** --syntax-check=false */ |
82 | 139 | public final boolean SYNTAX_CHECK;
|
| 140 | + /** --argv-global-values=new String[]{} */ |
83 | 141 | public final String[] ARGV_GLOBAL_VALUES;
|
| 142 | + /** --argv-global-flags=new String[]{} */ |
84 | 143 | public final String[] ARGV_GLOBAL_FLAGS;
|
| 144 | + /** --building-core-cexts=false */ |
85 | 145 | public final boolean BUILDING_CORE_CEXTS;
|
| 146 | + /** --lazy-translation-log=false */ |
86 | 147 | public final boolean LAZY_TRANSLATION_LOG;
|
| 148 | + /** --constant-dynamic-lookup-log=false */ |
87 | 149 | public final boolean LOG_DYNAMIC_CONSTANT_LOOKUP;
|
| 150 | + /** --rope-print-intern-stats=false */ |
88 | 151 | public final boolean ROPE_PRINT_INTERN_STATS;
|
| 152 | + /** --preinit=true */ |
89 | 153 | public final boolean PREINITIALIZATION;
|
| 154 | + /** --lazy-builtins=DEFAULT_LAZY */ |
90 | 155 | public final boolean LAZY_BUILTINS;
|
| 156 | + /** --lazy-core-method-nodes=DEFAULT_LAZY */ |
91 | 157 | public final boolean LAZY_CORE_METHOD_NODES;
|
| 158 | + /** --lazy-translation-core=DEFAULT_LAZY */ |
92 | 159 | public final boolean LAZY_TRANSLATION_CORE;
|
| 160 | + /** --basic-ops-inline=true */ |
93 | 161 | public final boolean BASICOPS_INLINE;
|
| 162 | + /** --rope-lazy-substrings=true */ |
94 | 163 | public final boolean ROPE_LAZY_SUBSTRINGS;
|
| 164 | + /** --default-cache=8 */ |
95 | 165 | public final int DEFAULT_CACHE;
|
| 166 | + /** --method-lookup-cache=DEFAULT_CACHE */ |
96 | 167 | public final int METHOD_LOOKUP_CACHE;
|
| 168 | + /** --dispatch-cache=DEFAULT_CACHE */ |
97 | 169 | public final int DISPATCH_CACHE;
|
| 170 | + /** --yield-cache=DEFAULT_CACHE */ |
98 | 171 | public final int YIELD_CACHE;
|
| 172 | + /** --to-proc-cache=DEFAULT_CACHE */ |
99 | 173 | public final int METHOD_TO_PROC_CACHE;
|
| 174 | + /** --is-a-cache=DEFAULT_CACHE */ |
100 | 175 | public final int IS_A_CACHE;
|
| 176 | + /** --bind-cache=DEFAULT_CACHE */ |
101 | 177 | public final int BIND_CACHE;
|
| 178 | + /** --constant-cache=DEFAULT_CACHE */ |
102 | 179 | public final int CONSTANT_CACHE;
|
| 180 | + /** --instance-variable-cache=DEFAULT_CACHE */ |
103 | 181 | public final int INSTANCE_VARIABLE_CACHE;
|
| 182 | + /** --binding-local-variable-cache=DEFAULT_CACHE */ |
104 | 183 | public final int BINDING_LOCAL_VARIABLE_CACHE;
|
| 184 | + /** --symbol-to-proc-cache=DEFAULT_CACHE */ |
105 | 185 | public final int SYMBOL_TO_PROC_CACHE;
|
| 186 | + /** --allocate-class-cache=DEFAULT_CACHE */ |
106 | 187 | public final int ALLOCATE_CLASS_CACHE;
|
| 188 | + /** --pack-cache=DEFAULT_CACHE */ |
107 | 189 | public final int PACK_CACHE;
|
| 190 | + /** --unpack-cache=DEFAULT_CACHE */ |
108 | 191 | public final int UNPACK_CACHE;
|
| 192 | + /** --eval-cache=DEFAULT_CACHE */ |
109 | 193 | public final int EVAL_CACHE;
|
| 194 | + /** --class-cache=DEFAULT_CACHE */ |
110 | 195 | public final int CLASS_CACHE;
|
| 196 | + /** --encoding-compatible-query-cache=DEFAULT_CACHE */ |
111 | 197 | public final int ENCODING_COMPATIBLE_QUERY_CACHE;
|
| 198 | + /** --encoding-loaded-classes-cache=DEFAULT_CACHE */ |
112 | 199 | public final int ENCODING_LOADED_CLASSES_CACHE;
|
| 200 | + /** --thread-cache=DEFAULT_CACHE */ |
113 | 201 | public final int THREAD_CACHE;
|
| 202 | + /** --rope-class-cache=8 */ |
114 | 203 | public final int ROPE_CLASS_CACHE;
|
| 204 | + /** --interop-convert-cache=DEFAULT_CACHE */ |
115 | 205 | public final int INTEROP_CONVERT_CACHE;
|
| 206 | + /** --interop-execute-cache=DEFAULT_CACHE */ |
116 | 207 | public final int INTEROP_EXECUTE_CACHE;
|
| 208 | + /** --interop-invoke-cache=DEFAULT_CACHE */ |
117 | 209 | public final int INTEROP_INVOKE_CACHE;
|
| 210 | + /** --interop-new-cache=DEFAULT_CACHE */ |
118 | 211 | public final int INTEROP_NEW_CACHE;
|
| 212 | + /** --time-format-cache=DEFAULT_CACHE */ |
119 | 213 | public final int TIME_FORMAT_CACHE;
|
| 214 | + /** --integer-pow-cache=DEFAULT_CACHE */ |
120 | 215 | public final int POW_CACHE;
|
| 216 | + /** --array-dup-cache=3 */ |
121 | 217 | public final int ARRAY_DUP_CACHE;
|
| 218 | + /** --frame-variable-access-cache=5 */ |
122 | 219 | public final int FRAME_VARIABLE_ACCESS_CACHE;
|
| 220 | + /** --array-uninitialized-size=16 */ |
123 | 221 | public final int ARRAY_UNINITIALIZED_SIZE;
|
| 222 | + /** --array-small=3 */ |
124 | 223 | public final int ARRAY_SMALL;
|
| 224 | + /** --hash-packed-array-max=3 */ |
125 | 225 | public final int HASH_PACKED_ARRAY_MAX;
|
| 226 | + /** --pack-unroll=4 */ |
126 | 227 | public final int PACK_UNROLL_LIMIT;
|
| 228 | + /** --pack-recover=32 */ |
127 | 229 | public final int PACK_RECOVER_LOOP_MIN;
|
| 230 | + /** --cexts-marking-cache=100 */ |
128 | 231 | public final int CEXTS_MARKING_CACHE;
|
| 232 | + /** --rope-depth-threshold=128 */ |
129 | 233 | public final int ROPE_DEPTH_THRESHOLD;
|
| 234 | + /** --global-variable-max-invalidations=1 */ |
130 | 235 | public final int GLOBAL_VARIABLE_MAX_INVALIDATIONS;
|
| 236 | + /** --clone-default=true */ |
131 | 237 | public final boolean CLONE_DEFAULT;
|
| 238 | + /** --inline-default=true */ |
132 | 239 | public final boolean INLINE_DEFAULT;
|
| 240 | + /** --core-always-clone=CLONE_DEFAULT */ |
133 | 241 | public final boolean CORE_ALWAYS_CLONE;
|
| 242 | + /** --primitive-callers-always-clone=CLONE_DEFAULT */ |
134 | 243 | public final boolean PRIMITIVE_CALLERS_ALWAYS_CLONE;
|
| 244 | + /** --always-split-honor=CLONE_DEFAULT */ |
135 | 245 | public final boolean ALWAYS_SPLIT_HONOR;
|
| 246 | + /** --inline-needs-caller-frame=INLINE_DEFAULT */ |
136 | 247 | public final boolean INLINE_NEEDS_CALLER_FRAME;
|
| 248 | + /** --yield-always-clone=CLONE_DEFAULT */ |
137 | 249 | public final boolean YIELD_ALWAYS_CLONE;
|
| 250 | + /** --yield-always-inline=INLINE_DEFAULT */ |
138 | 251 | public final boolean YIELD_ALWAYS_INLINE;
|
| 252 | + /** --method-missing-always-clone=CLONE_DEFAULT */ |
139 | 253 | public final boolean METHODMISSING_ALWAYS_CLONE;
|
| 254 | + /** --method-missing-always-inline=INLINE_DEFAULT */ |
140 | 255 | public final boolean METHODMISSING_ALWAYS_INLINE;
|
| 256 | + /** --call-with-block-always-clone=CLONE_DEFAULT */ |
141 | 257 | public final boolean CALL_WITH_BLOCK_ALWAYS_CLONE;
|
| 258 | + /** --regexp-instrument-creation=false */ |
142 | 259 | public final boolean REGEXP_INSTRUMENT_CREATION;
|
| 260 | + /** --regexp-instrument-match=false */ |
143 | 261 | public final boolean REGEXP_INSTRUMENT_MATCH;
|
| 262 | + /** --metrics-time-parsing-file=false */ |
144 | 263 | public final boolean METRICS_TIME_PARSING_FILE;
|
| 264 | + /** --metrics-time-require=false */ |
145 | 265 | public final boolean METRICS_TIME_REQUIRE;
|
| 266 | + /** --shared-objects=true */ |
146 | 267 | public final boolean SHARED_OBJECTS_ENABLED;
|
| 268 | + /** --shared-objects-debug=false */ |
147 | 269 | public final boolean SHARED_OBJECTS_DEBUG;
|
| 270 | + /** --shared-objects-force=false */ |
148 | 271 | public final boolean SHARED_OBJECTS_FORCE;
|
149 |
| - public final boolean SHARED_OBJECTS_SHARE_ALL; |
150 | 272 |
|
151 | 273 | public Options(Env env, OptionValues options) {
|
152 | 274 | LOAD_PATHS = options.get(OptionsCatalog.LOAD_PATHS_KEY);
|
@@ -272,7 +394,6 @@ public Options(Env env, OptionValues options) {
|
272 | 394 | SHARED_OBJECTS_ENABLED = options.get(OptionsCatalog.SHARED_OBJECTS_ENABLED_KEY);
|
273 | 395 | SHARED_OBJECTS_DEBUG = options.get(OptionsCatalog.SHARED_OBJECTS_DEBUG_KEY);
|
274 | 396 | SHARED_OBJECTS_FORCE = options.get(OptionsCatalog.SHARED_OBJECTS_FORCE_KEY);
|
275 |
| - SHARED_OBJECTS_SHARE_ALL = options.get(OptionsCatalog.SHARED_OBJECTS_SHARE_ALL_KEY); |
276 | 397 | }
|
277 | 398 |
|
278 | 399 | public Object fromDescriptor(OptionDescriptor descriptor) {
|
@@ -523,8 +644,6 @@ public Object fromDescriptor(OptionDescriptor descriptor) {
|
523 | 644 | return SHARED_OBJECTS_DEBUG;
|
524 | 645 | case "ruby.shared-objects-force":
|
525 | 646 | return SHARED_OBJECTS_FORCE;
|
526 |
| - case "ruby.shared-objects-share-all": |
527 |
| - return SHARED_OBJECTS_SHARE_ALL; |
528 | 647 | default:
|
529 | 648 | return null;
|
530 | 649 | }
|
|
0 commit comments