Fix non-TF target build after r23107.

TBR=jarin@chromium.org
TEST=cctest/test-run-deopt

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23110 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
mstarzinger@chromium.org 2014-08-13 14:47:32 +00:00
parent c9879cfb34
commit 76a49573f3

View File

@ -11,6 +11,8 @@ using namespace v8;
using namespace v8::internal;
using namespace v8::internal::compiler;
#if V8_TURBOFAN_TARGET
static void IsOptimized(const FunctionCallbackInfo<v8::Value>& args) {
JavaScriptFrameIterator it(CcTest::i_isolate());
JavaScriptFrame* frame = it.frame();
@ -24,7 +26,6 @@ static void InstallIsOptimizedHelper(v8::Isolate* isolate) {
context->Global()->Set(v8_str("IsOptimized"), t->GetFunction());
}
#if V8_TURBOFAN_TARGET
TEST(TurboSimpleDeopt) {
FLAG_allow_natives_syntax = true;