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 2626 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2637 | 2637 |
2638 if (create_heap_objects) { | 2638 if (create_heap_objects) { |
2639 // Terminate the partial snapshot cache so we can iterate. | 2639 // Terminate the partial snapshot cache so we can iterate. |
2640 partial_snapshot_cache_.Add(heap_.undefined_value()); | 2640 partial_snapshot_cache_.Add(heap_.undefined_value()); |
2641 } | 2641 } |
2642 | 2642 |
2643 InitializeThreadLocal(); | 2643 InitializeThreadLocal(); |
2644 | 2644 |
2645 bootstrapper_->Initialize(create_heap_objects); | 2645 bootstrapper_->Initialize(create_heap_objects); |
2646 builtins_.SetUp(this, create_heap_objects); | 2646 builtins_.SetUp(this, create_heap_objects); |
2647 if (create_heap_objects) { | 2647 if (create_heap_objects) heap_.CreateFixedStubs(); |
2648 heap_.CreateFixedStubs(); | |
2649 } | |
2650 | 2648 |
2651 if (FLAG_log_internal_timer_events) { | 2649 if (FLAG_log_internal_timer_events) { |
2652 set_event_logger(Logger::DefaultEventLoggerSentinel); | 2650 set_event_logger(Logger::DefaultEventLoggerSentinel); |
2653 } | 2651 } |
2654 | 2652 |
2655 if (FLAG_trace_hydrogen || FLAG_trace_hydrogen_stubs || FLAG_trace_turbo || | 2653 if (FLAG_trace_hydrogen || FLAG_trace_hydrogen_stubs || FLAG_trace_turbo || |
2656 FLAG_trace_turbo_graph) { | 2654 FLAG_trace_turbo_graph) { |
2657 PrintF("Concurrent recompilation has been disabled for tracing.\n"); | 2655 PrintF("Concurrent recompilation has been disabled for tracing.\n"); |
2658 } else if (OptimizingCompileDispatcher::Enabled()) { | 2656 } else if (OptimizingCompileDispatcher::Enabled()) { |
2659 optimizing_compile_dispatcher_ = new OptimizingCompileDispatcher(this); | 2657 optimizing_compile_dispatcher_ = new OptimizingCompileDispatcher(this); |
(...skipping 988 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3648 // Then check whether this scope intercepts. | 3646 // Then check whether this scope intercepts. |
3649 if ((flag & intercept_mask_)) { | 3647 if ((flag & intercept_mask_)) { |
3650 intercepted_flags_ |= flag; | 3648 intercepted_flags_ |= flag; |
3651 return true; | 3649 return true; |
3652 } | 3650 } |
3653 return false; | 3651 return false; |
3654 } | 3652 } |
3655 | 3653 |
3656 } // namespace internal | 3654 } // namespace internal |
3657 } // namespace v8 | 3655 } // namespace v8 |
OLD | NEW |