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

Side by Side Diff: src/execution.h

Issue 18014003: Add X32 port into V8 (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Rebased with bleeding_edge Created 6 years, 6 months 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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 #ifndef V8_EXECUTION_H_ 5 #ifndef V8_EXECUTION_H_
6 #define V8_EXECUTION_H_ 6 #define V8_EXECUTION_H_
7 7
8 #include "src/handles.h" 8 #include "src/handles.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 inline void set_interrupt_limits(const ExecutionAccess& lock); 220 inline void set_interrupt_limits(const ExecutionAccess& lock);
221 221
222 // Reset limits to actual values. For example after handling interrupt. 222 // Reset limits to actual values. For example after handling interrupt.
223 // You should hold the ExecutionAccess lock when calling this method. 223 // You should hold the ExecutionAccess lock when calling this method.
224 inline void reset_limits(const ExecutionAccess& lock); 224 inline void reset_limits(const ExecutionAccess& lock);
225 225
226 // Enable or disable interrupts. 226 // Enable or disable interrupts.
227 void EnableInterrupts(); 227 void EnableInterrupts();
228 void DisableInterrupts(); 228 void DisableInterrupts();
229 229
230 #if V8_TARGET_ARCH_X64 || V8_TARGET_ARCH_ARM64 230 #if V8_TARGET_ARCH_64_BIT
231 static const uintptr_t kInterruptLimit = V8_UINT64_C(0xfffffffffffffffe); 231 static const uintptr_t kInterruptLimit = V8_UINT64_C(0xfffffffffffffffe);
232 static const uintptr_t kIllegalLimit = V8_UINT64_C(0xfffffffffffffff8); 232 static const uintptr_t kIllegalLimit = V8_UINT64_C(0xfffffffffffffff8);
233 #else 233 #else
234 static const uintptr_t kInterruptLimit = 0xfffffffe; 234 static const uintptr_t kInterruptLimit = 0xfffffffe;
235 static const uintptr_t kIllegalLimit = 0xfffffff8; 235 static const uintptr_t kIllegalLimit = 0xfffffff8;
236 #endif 236 #endif
237 237
238 class ThreadLocal V8_FINAL { 238 class ThreadLocal V8_FINAL {
239 public: 239 public:
240 ThreadLocal() { Clear(); } 240 ThreadLocal() { Clear(); }
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 friend class Isolate; 277 friend class Isolate;
278 friend class StackLimitCheck; 278 friend class StackLimitCheck;
279 friend class PostponeInterruptsScope; 279 friend class PostponeInterruptsScope;
280 280
281 DISALLOW_COPY_AND_ASSIGN(StackGuard); 281 DISALLOW_COPY_AND_ASSIGN(StackGuard);
282 }; 282 };
283 283
284 } } // namespace v8::internal 284 } } // namespace v8::internal
285 285
286 #endif // V8_EXECUTION_H_ 286 #endif // V8_EXECUTION_H_
OLDNEW
« src/base/build_config.h ('K') | « src/base/build_config.h ('k') | src/gdb-jit.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698