| Index: src/compiler/pipeline.h
|
| diff --git a/src/compiler/pipeline.h b/src/compiler/pipeline.h
|
| index 82af766c3c426414e857effc426d2a8a69237cf8..f6dd39a34b6eb6b59335f4a5747ee4506f0f2296 100644
|
| --- a/src/compiler/pipeline.h
|
| +++ b/src/compiler/pipeline.h
|
| @@ -12,16 +12,6 @@
|
| // Note: TODO(turbofan) implies a performance improvement opportunity,
|
| // and TODO(name) implies an incomplete implementation
|
|
|
| -#if V8_TARGET_ARCH_IA32 || V8_TARGET_ARCH_X64 || V8_TARGET_ARCH_ARM
|
| -#ifndef _WIN64
|
| -#define V8_TURBOFAN_TARGET 1
|
| -#else
|
| -#define V8_TURBOFAN_TARGET 0
|
| -#endif
|
| -#else
|
| -#define V8_TURBOFAN_TARGET 0
|
| -#endif
|
| -
|
| namespace v8 {
|
| namespace internal {
|
| namespace compiler {
|
| @@ -49,6 +39,7 @@ class Pipeline {
|
| Zone* zone() { return info_->zone(); }
|
| Isolate* isolate() { return info_->isolate(); }
|
|
|
| + static inline bool SupportedBackend() { return V8_TURBOFAN_BACKEND != 0; }
|
| static inline bool SupportedTarget() { return V8_TURBOFAN_TARGET != 0; }
|
|
|
| static inline bool VerifyGraphs() {
|
|
|