| 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 2494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2505 materialized_object_store_ = new MaterializedObjectStore(this); | 2505 materialized_object_store_ = new MaterializedObjectStore(this); |
| 2506 regexp_stack_ = new RegExpStack(); | 2506 regexp_stack_ = new RegExpStack(); |
| 2507 regexp_stack_->isolate_ = this; | 2507 regexp_stack_->isolate_ = this; |
| 2508 date_cache_ = new DateCache(); | 2508 date_cache_ = new DateCache(); |
| 2509 call_descriptor_data_ = | 2509 call_descriptor_data_ = |
| 2510 new CallInterfaceDescriptorData[CallDescriptors::NUMBER_OF_DESCRIPTORS]; | 2510 new CallInterfaceDescriptorData[CallDescriptors::NUMBER_OF_DESCRIPTORS]; |
| 2511 access_compiler_data_ = new AccessCompilerData(); | 2511 access_compiler_data_ = new AccessCompilerData(); |
| 2512 cpu_profiler_ = new CpuProfiler(this); | 2512 cpu_profiler_ = new CpuProfiler(this); |
| 2513 heap_profiler_ = new HeapProfiler(heap()); | 2513 heap_profiler_ = new HeapProfiler(heap()); |
| 2514 interpreter_ = new interpreter::Interpreter(this); | 2514 interpreter_ = new interpreter::Interpreter(this); |
| 2515 compiler_dispatcher_ = new CompilerDispatcher(this, FLAG_stack_size); | 2515 compiler_dispatcher_ = |
| 2516 new CompilerDispatcher(this, V8::GetCurrentPlatform(), FLAG_stack_size); |
| 2516 | 2517 |
| 2517 // Enable logging before setting up the heap | 2518 // Enable logging before setting up the heap |
| 2518 logger_->SetUp(this); | 2519 logger_->SetUp(this); |
| 2519 | 2520 |
| 2520 // Initialize other runtime facilities | 2521 // Initialize other runtime facilities |
| 2521 #if defined(USE_SIMULATOR) | 2522 #if defined(USE_SIMULATOR) |
| 2522 #if V8_TARGET_ARCH_ARM || V8_TARGET_ARCH_ARM64 || V8_TARGET_ARCH_MIPS || \ | 2523 #if V8_TARGET_ARCH_ARM || V8_TARGET_ARCH_ARM64 || V8_TARGET_ARCH_MIPS || \ |
| 2523 V8_TARGET_ARCH_MIPS64 || V8_TARGET_ARCH_PPC || V8_TARGET_ARCH_S390 | 2524 V8_TARGET_ARCH_MIPS64 || V8_TARGET_ARCH_PPC || V8_TARGET_ARCH_S390 |
| 2524 Simulator::Initialize(this); | 2525 Simulator::Initialize(this); |
| 2525 #endif | 2526 #endif |
| (...skipping 1034 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3560 // Then check whether this scope intercepts. | 3561 // Then check whether this scope intercepts. |
| 3561 if ((flag & intercept_mask_)) { | 3562 if ((flag & intercept_mask_)) { |
| 3562 intercepted_flags_ |= flag; | 3563 intercepted_flags_ |= flag; |
| 3563 return true; | 3564 return true; |
| 3564 } | 3565 } |
| 3565 return false; | 3566 return false; |
| 3566 } | 3567 } |
| 3567 | 3568 |
| 3568 } // namespace internal | 3569 } // namespace internal |
| 3569 } // namespace v8 | 3570 } // namespace v8 |
| OLD | NEW |