| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "src/isolate.h" | 5 #include "src/isolate.h" |
| 6 | 6 |
| 7 #include <stdlib.h> | 7 #include <stdlib.h> |
| 8 | 8 |
| 9 #include <fstream> // NOLINT(readability/streams) | 9 #include <fstream> // NOLINT(readability/streams) |
| 10 #include <sstream> | 10 #include <sstream> |
| (...skipping 2275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2286 | 2286 |
| 2287 InitializeThreadLocal(); | 2287 InitializeThreadLocal(); |
| 2288 | 2288 |
| 2289 bootstrapper_->Initialize(create_heap_objects); | 2289 bootstrapper_->Initialize(create_heap_objects); |
| 2290 builtins_.SetUp(this, create_heap_objects); | 2290 builtins_.SetUp(this, create_heap_objects); |
| 2291 | 2291 |
| 2292 if (FLAG_log_internal_timer_events) { | 2292 if (FLAG_log_internal_timer_events) { |
| 2293 set_event_logger(Logger::DefaultEventLoggerSentinel); | 2293 set_event_logger(Logger::DefaultEventLoggerSentinel); |
| 2294 } | 2294 } |
| 2295 | 2295 |
| 2296 if (FLAG_trace_hydrogen || FLAG_trace_hydrogen_stubs) { | 2296 if (FLAG_trace_hydrogen || FLAG_trace_hydrogen_stubs || FLAG_trace_turbo || |
| 2297 FLAG_trace_turbo_graph) { |
| 2297 PrintF("Concurrent recompilation has been disabled for tracing.\n"); | 2298 PrintF("Concurrent recompilation has been disabled for tracing.\n"); |
| 2298 } else if (OptimizingCompileDispatcher::Enabled()) { | 2299 } else if (OptimizingCompileDispatcher::Enabled()) { |
| 2299 optimizing_compile_dispatcher_ = new OptimizingCompileDispatcher(this); | 2300 optimizing_compile_dispatcher_ = new OptimizingCompileDispatcher(this); |
| 2300 } | 2301 } |
| 2301 | 2302 |
| 2302 // Initialize runtime profiler before deserialization, because collections may | 2303 // Initialize runtime profiler before deserialization, because collections may |
| 2303 // occur, clearing/updating ICs. | 2304 // occur, clearing/updating ICs. |
| 2304 runtime_profiler_ = new RuntimeProfiler(this); | 2305 runtime_profiler_ = new RuntimeProfiler(this); |
| 2305 | 2306 |
| 2306 // If we are deserializing, read the state into the now-empty heap. | 2307 // If we are deserializing, read the state into the now-empty heap. |
| (...skipping 712 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3019 // Then check whether this scope intercepts. | 3020 // Then check whether this scope intercepts. |
| 3020 if ((flag & intercept_mask_)) { | 3021 if ((flag & intercept_mask_)) { |
| 3021 intercepted_flags_ |= flag; | 3022 intercepted_flags_ |= flag; |
| 3022 return true; | 3023 return true; |
| 3023 } | 3024 } |
| 3024 return false; | 3025 return false; |
| 3025 } | 3026 } |
| 3026 | 3027 |
| 3027 } // namespace internal | 3028 } // namespace internal |
| 3028 } // namespace v8 | 3029 } // namespace v8 |
| OLD | NEW |