Commit 2de08b49 authored by jarin@chromium.org's avatar jarin@chromium.org

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
parent a520e034
......@@ -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
......
......@@ -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.
//==============================================================================
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment