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

Side by Side Diff: src/execution.h

Issue 148293020: Merge experimental/a64 to bleeding_edge. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Remove ARM from OWNERS Created 6 years, 10 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
« no previous file with comments | « src/deoptimizer.cc ('k') | src/flag-definitions.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 inline void set_interrupt_limits(const ExecutionAccess& lock); 274 inline void set_interrupt_limits(const ExecutionAccess& lock);
275 275
276 // Reset limits to actual values. For example after handling interrupt. 276 // Reset limits to actual values. For example after handling interrupt.
277 // You should hold the ExecutionAccess lock when calling this method. 277 // You should hold the ExecutionAccess lock when calling this method.
278 inline void reset_limits(const ExecutionAccess& lock); 278 inline void reset_limits(const ExecutionAccess& lock);
279 279
280 // Enable or disable interrupts. 280 // Enable or disable interrupts.
281 void EnableInterrupts(); 281 void EnableInterrupts();
282 void DisableInterrupts(); 282 void DisableInterrupts();
283 283
284 #if V8_TARGET_ARCH_X64 284 #if V8_TARGET_ARCH_X64 || V8_TARGET_ARCH_A64
285 static const uintptr_t kInterruptLimit = V8_UINT64_C(0xfffffffffffffffe); 285 static const uintptr_t kInterruptLimit = V8_UINT64_C(0xfffffffffffffffe);
286 static const uintptr_t kIllegalLimit = V8_UINT64_C(0xfffffffffffffff8); 286 static const uintptr_t kIllegalLimit = V8_UINT64_C(0xfffffffffffffff8);
287 #else 287 #else
288 static const uintptr_t kInterruptLimit = 0xfffffffe; 288 static const uintptr_t kInterruptLimit = 0xfffffffe;
289 static const uintptr_t kIllegalLimit = 0xfffffff8; 289 static const uintptr_t kIllegalLimit = 0xfffffff8;
290 #endif 290 #endif
291 291
292 class ThreadLocal { 292 class ThreadLocal {
293 public: 293 public:
294 ThreadLocal() { Clear(); } 294 ThreadLocal() { Clear(); }
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 friend class StackLimitCheck; 330 friend class StackLimitCheck;
331 friend class PostponeInterruptsScope; 331 friend class PostponeInterruptsScope;
332 332
333 DISALLOW_COPY_AND_ASSIGN(StackGuard); 333 DISALLOW_COPY_AND_ASSIGN(StackGuard);
334 }; 334 };
335 335
336 336
337 } } // namespace v8::internal 337 } } // namespace v8::internal
338 338
339 #endif // V8_EXECUTION_H_ 339 #endif // V8_EXECUTION_H_
OLDNEW
« no previous file with comments | « src/deoptimizer.cc ('k') | src/flag-definitions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698