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

Unified Diff: src/isolate.h

Issue 1142043003: Use USE_SIMULATOR when appropriate. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/isolate.h
diff --git a/src/isolate.h b/src/isolate.h
index ae38e71c7b8e2e07dd906bbec4666a7af2aefc1a..ec9de6248fcdd32c52fe590e11d77d424c635103 100644
--- a/src/isolate.h
+++ b/src/isolate.h
@@ -81,15 +81,8 @@ typedef void* ExternalReferenceRedirectorPointer();
class Debug;
class Debugger;
class PromiseOnStack;
-
-#if !defined(__arm__) && V8_TARGET_ARCH_ARM || \
- !defined(__aarch64__) && V8_TARGET_ARCH_ARM64 || \
- !defined(__PPC__) && V8_TARGET_ARCH_PPC || \
- !defined(__mips__) && V8_TARGET_ARCH_MIPS || \
- !defined(__mips__) && V8_TARGET_ARCH_MIPS64
class Redirection;
class Simulator;
-#endif
// Static indirection table for handles to constants. If a frame
@@ -321,11 +314,7 @@ class ThreadLocalTop BASE_EMBEDDED {
};
-#if V8_TARGET_ARCH_ARM && !defined(__arm__) || \
- V8_TARGET_ARCH_ARM64 && !defined(__aarch64__) || \
- V8_TARGET_ARCH_PPC && !defined(__PPC__) || \
- V8_TARGET_ARCH_MIPS && !defined(__mips__) || \
- V8_TARGET_ARCH_MIPS64 && !defined(__mips__)
+#if USE_SIMULATOR
#define ISOLATE_INIT_SIMULATOR_LIST(V) \
V(bool, simulator_initialized, false) \
@@ -417,11 +406,7 @@ class Isolate {
thread_id_(thread_id),
stack_limit_(0),
thread_state_(NULL),
-#if !defined(__arm__) && V8_TARGET_ARCH_ARM || \
- !defined(__aarch64__) && V8_TARGET_ARCH_ARM64 || \
- !defined(__PPC__) && V8_TARGET_ARCH_PPC || \
- !defined(__mips__) && V8_TARGET_ARCH_MIPS || \
- !defined(__mips__) && V8_TARGET_ARCH_MIPS64
+#if USE_SIMULATOR
simulator_(NULL),
#endif
next_(NULL),
@@ -433,11 +418,7 @@ class Isolate {
FIELD_ACCESSOR(uintptr_t, stack_limit)
FIELD_ACCESSOR(ThreadState*, thread_state)
-#if !defined(__arm__) && V8_TARGET_ARCH_ARM || \
- !defined(__aarch64__) && V8_TARGET_ARCH_ARM64 || \
- !defined(__PPC__) && V8_TARGET_ARCH_PPC || \
- !defined(__mips__) && V8_TARGET_ARCH_MIPS || \
- !defined(__mips__) && V8_TARGET_ARCH_MIPS64
+#if USE_SIMULATOR
FIELD_ACCESSOR(Simulator*, simulator)
#endif
@@ -451,11 +432,7 @@ class Isolate {
uintptr_t stack_limit_;
ThreadState* thread_state_;
-#if !defined(__arm__) && V8_TARGET_ARCH_ARM || \
- !defined(__aarch64__) && V8_TARGET_ARCH_ARM64 || \
- !defined(__PPC__) && V8_TARGET_ARCH_PPC || \
- !defined(__mips__) && V8_TARGET_ARCH_MIPS || \
- !defined(__mips__) && V8_TARGET_ARCH_MIPS64
+#if USE_SIMULATOR
Simulator* simulator_;
#endif
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698