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 2279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2290 | 2290 |
2291 if (create_heap_objects) { | 2291 if (create_heap_objects) { |
2292 // Terminate the partial snapshot cache so we can iterate. | 2292 // Terminate the partial snapshot cache so we can iterate. |
2293 partial_snapshot_cache_.Add(heap_.undefined_value()); | 2293 partial_snapshot_cache_.Add(heap_.undefined_value()); |
2294 } | 2294 } |
2295 | 2295 |
2296 InitializeThreadLocal(); | 2296 InitializeThreadLocal(); |
2297 | 2297 |
2298 bootstrapper_->Initialize(create_heap_objects); | 2298 bootstrapper_->Initialize(create_heap_objects); |
2299 builtins_.SetUp(this, create_heap_objects); | 2299 builtins_.SetUp(this, create_heap_objects); |
2300 if (create_heap_objects) { | |
2301 heap_.CreateFixedStubs(); | |
2302 } | |
2303 | 2300 |
2304 if (FLAG_log_internal_timer_events) { | 2301 if (FLAG_log_internal_timer_events) { |
2305 set_event_logger(Logger::DefaultEventLoggerSentinel); | 2302 set_event_logger(Logger::DefaultEventLoggerSentinel); |
2306 } | 2303 } |
2307 | 2304 |
2308 if (FLAG_trace_hydrogen || FLAG_trace_hydrogen_stubs || FLAG_trace_turbo || | 2305 if (FLAG_trace_hydrogen || FLAG_trace_hydrogen_stubs || FLAG_trace_turbo || |
2309 FLAG_trace_turbo_graph) { | 2306 FLAG_trace_turbo_graph) { |
2310 PrintF("Concurrent recompilation has been disabled for tracing.\n"); | 2307 PrintF("Concurrent recompilation has been disabled for tracing.\n"); |
2311 } else if (OptimizingCompileDispatcher::Enabled()) { | 2308 } else if (OptimizingCompileDispatcher::Enabled()) { |
2312 optimizing_compile_dispatcher_ = new OptimizingCompileDispatcher(this); | 2309 optimizing_compile_dispatcher_ = new OptimizingCompileDispatcher(this); |
(...skipping 782 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3095 // Then check whether this scope intercepts. | 3092 // Then check whether this scope intercepts. |
3096 if ((flag & intercept_mask_)) { | 3093 if ((flag & intercept_mask_)) { |
3097 intercepted_flags_ |= flag; | 3094 intercepted_flags_ |= flag; |
3098 return true; | 3095 return true; |
3099 } | 3096 } |
3100 return false; | 3097 return false; |
3101 } | 3098 } |
3102 | 3099 |
3103 } // namespace internal | 3100 } // namespace internal |
3104 } // namespace v8 | 3101 } // namespace v8 |
OLD | NEW |