Reviewers: Benedikt Meurer,
Description:
Fix ARM64 port after r22876.
[email protected]
Please review this at https://codereview.chromium.org/447443002/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+2, -8 lines):
M src/compiler/arm64/linkage-arm64.cc
M src/compiler/linkage.cc
M src/compiler/x64/linkage-x64.cc
Index: src/compiler/arm64/linkage-arm64.cc
diff --git a/src/compiler/arm64/linkage-arm64.cc
b/src/compiler/arm64/linkage-arm64.cc
index
72f6c55e0cc24195869350ddc210e5c0aa1f676c..240cef1e330e4ed5cf9cb567a59f151ac932f023
100644
--- a/src/compiler/arm64/linkage-arm64.cc
+++ b/src/compiler/arm64/linkage-arm64.cc
@@ -14,8 +14,6 @@ namespace v8 {
namespace internal {
namespace compiler {
-#if V8_TURBOFAN_TARGET
-
struct LinkageHelperTraits {
static Register ReturnValueReg() { return x0; }
static Register ReturnValue2Reg() { return x1; }
@@ -64,7 +62,6 @@ CallDescriptor* Linkage::GetSimplifiedCDescriptor(
zone, num_params, return_type, param_types);
}
-#endif // V8_TURBOFAN_TARGET
}
}
} // namespace v8::internal::compiler
Index: src/compiler/linkage.cc
diff --git a/src/compiler/linkage.cc b/src/compiler/linkage.cc
index
ce88a0695699a212ab0aa8234d55195114b8f7cf..466f65c8ba8397552c82e7da14c648ab811847d5
100644
--- a/src/compiler/linkage.cc
+++ b/src/compiler/linkage.cc
@@ -105,7 +105,7 @@ CallDescriptor* Linkage::GetRuntimeCallDescriptor(
//==============================================================================
// Provide unimplemented methods on unsupported architectures, to at least
link.
//==============================================================================
-#if !V8_TURBOFAN_TARGET
+#if !V8_TURBOFAN_BACKEND
CallDescriptor* Linkage::GetJSCallDescriptor(int parameter_count, Zone*
zone) {
UNIMPLEMENTED();
return NULL;
@@ -134,7 +134,7 @@ CallDescriptor* Linkage::GetSimplifiedCDescriptor(
UNIMPLEMENTED();
return NULL;
}
-#endif // !V8_TURBOFAN_TARGET
+#endif // !V8_TURBOFAN_BACKEND
}
}
} // namespace v8::internal::compiler
Index: src/compiler/x64/linkage-x64.cc
diff --git a/src/compiler/x64/linkage-x64.cc
b/src/compiler/x64/linkage-x64.cc
index
7b0436ebf3442bc78d0995b756dfd999f22c3b0a..30808e042ebd2c32bb28d3a34cc532ed42aefc45
100644
--- a/src/compiler/x64/linkage-x64.cc
+++ b/src/compiler/x64/linkage-x64.cc
@@ -14,8 +14,6 @@ namespace v8 {
namespace internal {
namespace compiler {
-#ifndef _WIN64
-
#ifdef _WIN64
const bool kWin64 = true;
#else
@@ -79,7 +77,6 @@ CallDescriptor* Linkage::GetSimplifiedCDescriptor(
zone, num_params, return_type, param_types);
}
-#endif
}
}
} // namespace v8::internal::compiler
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.