Fix Win64 build (header include mess up)

R=bmeurer@chromium.org
BUG=

Review URL: https://codereview.chromium.org/527893002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23599 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
jarin@chromium.org 2014-09-02 11:33:28 +00:00
parent a520e03442
commit 2de08b4945
2 changed files with 20 additions and 20 deletions

View File

@ -199,26 +199,6 @@ class LinkageHelper {
CallDescriptor::kNoFlags); // TODO(jarin) should deoptimize!
}
};
bool Linkage::NeedsFrameState(Runtime::FunctionId function) {
if (!FLAG_turbo_deoptimization) {
return false;
}
// TODO(jarin) At the moment, we only add frame state for
// few chosen runtime functions.
switch (function) {
case Runtime::kDebugBreak:
case Runtime::kDeoptimizeFunction:
case Runtime::kSetScriptBreakPoint:
case Runtime::kDebugGetLoadedScripts:
case Runtime::kStackGuard:
return true;
default:
return false;
}
}
} // namespace compiler
} // namespace internal
} // namespace v8

View File

@ -109,6 +109,26 @@ CallDescriptor* Linkage::GetStubCallDescriptor(
}
// static
bool Linkage::NeedsFrameState(Runtime::FunctionId function) {
if (!FLAG_turbo_deoptimization) {
return false;
}
// TODO(jarin) At the moment, we only add frame state for
// few chosen runtime functions.
switch (function) {
case Runtime::kDebugBreak:
case Runtime::kDeoptimizeFunction:
case Runtime::kSetScriptBreakPoint:
case Runtime::kDebugGetLoadedScripts:
case Runtime::kStackGuard:
return true;
default:
return false;
}
}
//==============================================================================
// Provide unimplemented methods on unsupported architectures, to at least link.
//==============================================================================