Lines Matching defs:options
158 ShellOptions Shell::options;
222 options.script_executed = true;
229 Shell::CompileString(isolate, source, name, options.compile_options);
253 if (options.test_shell) {
949 if (options.test_shell) return;
1198 // Ignore other options. They have been parsed already.
1214 if (exception_was_thrown != Shell::options.expected_to_throw) {
1232 base::Thread::Options SourceGroup::GetThreadOptions() {
1237 return base::Thread::Options("IsolateThread", 2 * MB);
1257 if (Shell::options.send_idle_notification) {
1262 if (Shell::options.invoke_weak_callbacks) {
1270 } while (!Shell::options.last_run);
1287 if (Shell::options.last_run) {
1305 options.stress_opt = true;
1308 options.stress_opt = false;
1311 options.stress_deopt = true;
1314 options.mock_arraybuffer_allocator = true;
1318 options.stress_opt = false;
1319 options.stress_deopt = false;
1324 options.interactive_shell = true;
1327 options.test_shell = true;
1330 options.send_idle_notification = true;
1333 options.invoke_weak_callbacks = true;
1335 options.send_idle_notification = true;
1346 options.num_isolates++;
1352 options.dump_heap_constants = true;
1356 options.expected_to_throw = true;
1359 options.icu_data_file = argv[i] + 16;
1371 options.natives_blob = argv[i] + 15;
1374 options.snapshot_blob = argv[i] + 16;
1381 options.compile_options = v8::ScriptCompiler::kProduceCodeCache;
1383 options.compile_options = v8::ScriptCompiler::kProduceParserCache;
1385 options.compile_options = v8::ScriptCompiler::kNoCompileOptions;
1397 options.isolate_sources = new SourceGroup[options.num_isolates];
1398 SourceGroup* current = options.isolate_sources;
1407 printf("Warning: unknown flag %s.\nTry --help for options\n", argv[i]);
1412 if (!logfile_per_isolate && options.num_isolates) {
1422 for (int i = 1; i < options.num_isolates; ++i) {
1423 options.isolate_sources[i].StartExecuteInThread();
1429 if (options.last_run && options.use_interactive_shell()) {
1443 options.isolate_sources[0].Execute(isolate);
1446 if (options.send_idle_notification) {
1451 if (options.invoke_weak_callbacks) {
1459 for (int i = 1; i < options.num_isolates; ++i) {
1460 options.isolate_sources[i].WaitForThread();
1619 v8::V8::InitializeICU(options.icu_data_file);
1624 StartupDataHandler startup_data(options.natives_blob, options.snapshot_blob);
1630 if (options.mock_arraybuffer_allocator) {
1660 if (options.dump_heap_constants) {
1666 if (options.stress_opt || options.stress_deopt) {
1667 Testing::SetStressRunType(options.stress_opt
1674 options.last_run = (i == stress_runs - 1);
1684 options.last_run = (i == stress_runs - 1);
1694 if (options.use_interactive_shell()) {