Enable TurboFan for Win64 targets.
R=mvstanton@chromium.org Review URL: https://codereview.chromium.org/743963002 Cr-Commit-Position: refs/heads/master@{#25437}
This commit is contained in:
parent
4f63564700
commit
6d41045ba4
@ -33,7 +33,7 @@
|
||||
#else
|
||||
#define V8_TURBOFAN_BACKEND 0
|
||||
#endif
|
||||
#if V8_TURBOFAN_BACKEND && !(V8_OS_WIN && V8_TARGET_ARCH_X64)
|
||||
#if V8_TURBOFAN_BACKEND
|
||||
#define V8_TURBOFAN_TARGET 1
|
||||
#else
|
||||
#define V8_TURBOFAN_TARGET 0
|
||||
|
@ -65,8 +65,8 @@ TEST(TestLinkageJSFunctionIncoming) {
|
||||
CallDescriptor* descriptor = linkage.GetIncomingDescriptor();
|
||||
CHECK_NE(NULL, descriptor);
|
||||
|
||||
CHECK_EQ(1 + i, descriptor->JSParameterCount());
|
||||
CHECK_EQ(1, descriptor->ReturnCount());
|
||||
CHECK_EQ(1 + i, static_cast<int>(descriptor->JSParameterCount()));
|
||||
CHECK_EQ(1, static_cast<int>(descriptor->ReturnCount()));
|
||||
CHECK_EQ(Operator::kNoProperties, descriptor->properties());
|
||||
CHECK_EQ(true, descriptor->IsJSFunctionCall());
|
||||
}
|
||||
@ -93,8 +93,8 @@ TEST(TestLinkageJSCall) {
|
||||
CallDescriptor* descriptor =
|
||||
linkage.GetJSCallDescriptor(i, CallDescriptor::kNoFlags);
|
||||
CHECK_NE(NULL, descriptor);
|
||||
CHECK_EQ(i, descriptor->JSParameterCount());
|
||||
CHECK_EQ(1, descriptor->ReturnCount());
|
||||
CHECK_EQ(i, static_cast<int>(descriptor->JSParameterCount()));
|
||||
CHECK_EQ(1, static_cast<int>(descriptor->ReturnCount()));
|
||||
CHECK_EQ(Operator::kNoProperties, descriptor->properties());
|
||||
CHECK_EQ(true, descriptor->IsJSFunctionCall());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user