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