Reviewers: jarin,
Description:
Fix non-TF target build after r23107.
[email protected]
TEST=cctest/test-run-deopt
Please review this at https://codereview.chromium.org/473453002/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+2, -1 lines):
M test/cctest/compiler/test-run-deopt.cc
Index: test/cctest/compiler/test-run-deopt.cc
diff --git a/test/cctest/compiler/test-run-deopt.cc
b/test/cctest/compiler/test-run-deopt.cc
index
069aa0369c9965a1de66cfc4a2dea8af115c875b..14c024cdbc027cf4cacc51cb1e8162d849341467
100644
--- a/test/cctest/compiler/test-run-deopt.cc
+++ b/test/cctest/compiler/test-run-deopt.cc
@@ -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;
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.