| 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 2313 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  2324  |  2324  | 
|  2325   if (create_heap_objects) { |  2325   if (create_heap_objects) { | 
|  2326     // Terminate the partial snapshot cache so we can iterate. |  2326     // Terminate the partial snapshot cache so we can iterate. | 
|  2327     partial_snapshot_cache_.Add(heap_.undefined_value()); |  2327     partial_snapshot_cache_.Add(heap_.undefined_value()); | 
|  2328   } |  2328   } | 
|  2329  |  2329  | 
|  2330   InitializeThreadLocal(); |  2330   InitializeThreadLocal(); | 
|  2331  |  2331  | 
|  2332   bootstrapper_->Initialize(create_heap_objects); |  2332   bootstrapper_->Initialize(create_heap_objects); | 
|  2333   builtins_.SetUp(this, create_heap_objects); |  2333   builtins_.SetUp(this, create_heap_objects); | 
 |  2334   if (create_heap_objects) { | 
 |  2335     heap_.CreateFixedStubs(); | 
 |  2336   } | 
|  2334  |  2337  | 
|  2335   if (FLAG_log_internal_timer_events) { |  2338   if (FLAG_log_internal_timer_events) { | 
|  2336     set_event_logger(Logger::DefaultEventLoggerSentinel); |  2339     set_event_logger(Logger::DefaultEventLoggerSentinel); | 
|  2337   } |  2340   } | 
|  2338  |  2341  | 
|  2339   if (FLAG_trace_hydrogen || FLAG_trace_hydrogen_stubs || FLAG_trace_turbo || |  2342   if (FLAG_trace_hydrogen || FLAG_trace_hydrogen_stubs || FLAG_trace_turbo || | 
|  2340       FLAG_trace_turbo_graph) { |  2343       FLAG_trace_turbo_graph) { | 
|  2341     PrintF("Concurrent recompilation has been disabled for tracing.\n"); |  2344     PrintF("Concurrent recompilation has been disabled for tracing.\n"); | 
|  2342   } else if (OptimizingCompileDispatcher::Enabled()) { |  2345   } else if (OptimizingCompileDispatcher::Enabled()) { | 
|  2343     optimizing_compile_dispatcher_ = new OptimizingCompileDispatcher(this); |  2346     optimizing_compile_dispatcher_ = new OptimizingCompileDispatcher(this); | 
| (...skipping 782 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  3126   // Then check whether this scope intercepts. |  3129   // Then check whether this scope intercepts. | 
|  3127   if ((flag & intercept_mask_)) { |  3130   if ((flag & intercept_mask_)) { | 
|  3128     intercepted_flags_ |= flag; |  3131     intercepted_flags_ |= flag; | 
|  3129     return true; |  3132     return true; | 
|  3130   } |  3133   } | 
|  3131   return false; |  3134   return false; | 
|  3132 } |  3135 } | 
|  3133  |  3136  | 
|  3134 }  // namespace internal |  3137 }  // namespace internal | 
|  3135 }  // namespace v8 |  3138 }  // namespace v8 | 
| OLD | NEW |