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 <stdlib.h> | 5 #include <stdlib.h> |
6 | 6 |
7 #include <fstream> // NOLINT(readability/streams) | 7 #include <fstream> // NOLINT(readability/streams) |
8 #include <sstream> | 8 #include <sstream> |
9 | 9 |
10 #include "src/v8.h" | 10 #include "src/v8.h" |
(...skipping 2150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2161 // Terminate the cache array with the sentinel so we can iterate. | 2161 // Terminate the cache array with the sentinel so we can iterate. |
2162 partial_snapshot_cache_.Add(heap_.undefined_value()); | 2162 partial_snapshot_cache_.Add(heap_.undefined_value()); |
2163 } | 2163 } |
2164 | 2164 |
2165 InitializeThreadLocal(); | 2165 InitializeThreadLocal(); |
2166 | 2166 |
2167 bootstrapper_->Initialize(create_heap_objects); | 2167 bootstrapper_->Initialize(create_heap_objects); |
2168 builtins_.SetUp(this, create_heap_objects); | 2168 builtins_.SetUp(this, create_heap_objects); |
2169 | 2169 |
2170 if (FLAG_ignition) { | 2170 if (FLAG_ignition) { |
2171 interpreter_->Initialize(create_heap_objects); | 2171 interpreter_->Initialize(); |
2172 } | 2172 } |
2173 | 2173 |
2174 if (FLAG_log_internal_timer_events) { | 2174 if (FLAG_log_internal_timer_events) { |
2175 set_event_logger(Logger::DefaultEventLoggerSentinel); | 2175 set_event_logger(Logger::DefaultEventLoggerSentinel); |
2176 } | 2176 } |
2177 | 2177 |
2178 if (FLAG_trace_hydrogen || FLAG_trace_hydrogen_stubs) { | 2178 if (FLAG_trace_hydrogen || FLAG_trace_hydrogen_stubs) { |
2179 PrintF("Concurrent recompilation has been disabled for tracing.\n"); | 2179 PrintF("Concurrent recompilation has been disabled for tracing.\n"); |
2180 } else if (OptimizingCompileDispatcher::Enabled()) { | 2180 } else if (OptimizingCompileDispatcher::Enabled()) { |
2181 optimizing_compile_dispatcher_ = new OptimizingCompileDispatcher(this); | 2181 optimizing_compile_dispatcher_ = new OptimizingCompileDispatcher(this); |
(...skipping 643 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2825 // Then check whether this scope intercepts. | 2825 // Then check whether this scope intercepts. |
2826 if ((flag & intercept_mask_)) { | 2826 if ((flag & intercept_mask_)) { |
2827 intercepted_flags_ |= flag; | 2827 intercepted_flags_ |= flag; |
2828 return true; | 2828 return true; |
2829 } | 2829 } |
2830 return false; | 2830 return false; |
2831 } | 2831 } |
2832 | 2832 |
2833 } // namespace internal | 2833 } // namespace internal |
2834 } // namespace v8 | 2834 } // namespace v8 |
OLD | NEW |