Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Side by Side Diff: src/isolate.cc

Issue 817143002: Contribution of PowerPC port (continuation of 422063005) (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 2003 matching lines...) Expand 10 before | Expand all | Expand 10 after
2014 call_descriptor_data_ = 2014 call_descriptor_data_ =
2015 new CallInterfaceDescriptorData[CallDescriptors::NUMBER_OF_DESCRIPTORS]; 2015 new CallInterfaceDescriptorData[CallDescriptors::NUMBER_OF_DESCRIPTORS];
2016 cpu_profiler_ = new CpuProfiler(this); 2016 cpu_profiler_ = new CpuProfiler(this);
2017 heap_profiler_ = new HeapProfiler(heap()); 2017 heap_profiler_ = new HeapProfiler(heap());
2018 2018
2019 // Enable logging before setting up the heap 2019 // Enable logging before setting up the heap
2020 logger_->SetUp(this); 2020 logger_->SetUp(this);
2021 2021
2022 // Initialize other runtime facilities 2022 // Initialize other runtime facilities
2023 #if defined(USE_SIMULATOR) 2023 #if defined(USE_SIMULATOR)
2024 #if V8_TARGET_ARCH_ARM || V8_TARGET_ARCH_ARM64 || \ 2024 #if V8_TARGET_ARCH_ARM || V8_TARGET_ARCH_ARM64 || V8_TARGET_ARCH_MIPS || \
2025 V8_TARGET_ARCH_MIPS || V8_TARGET_ARCH_MIPS64 2025 V8_TARGET_ARCH_MIPS64 || V8_TARGET_ARCH_PPC
2026 Simulator::Initialize(this); 2026 Simulator::Initialize(this);
2027 #endif 2027 #endif
2028 #endif 2028 #endif
2029 2029
2030 code_aging_helper_ = new CodeAgingHelper(); 2030 code_aging_helper_ = new CodeAgingHelper();
2031 2031
2032 { // NOLINT 2032 { // NOLINT
2033 // Ensure that the thread has a valid stack guard. The v8::Locker object 2033 // Ensure that the thread has a valid stack guard. The v8::Locker object
2034 // will ensure this too, but we don't have to use lockers if we are only 2034 // will ensure this too, but we don't have to use lockers if we are only
2035 // using one thread. 2035 // using one thread.
(...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after
2563 if (prev_ && prev_->Intercept(flag)) return true; 2563 if (prev_ && prev_->Intercept(flag)) return true;
2564 // Then check whether this scope intercepts. 2564 // Then check whether this scope intercepts.
2565 if ((flag & intercept_mask_)) { 2565 if ((flag & intercept_mask_)) {
2566 intercepted_flags_ |= flag; 2566 intercepted_flags_ |= flag;
2567 return true; 2567 return true;
2568 } 2568 }
2569 return false; 2569 return false;
2570 } 2570 }
2571 2571
2572 } } // namespace v8::internal 2572 } } // namespace v8::internal
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698