summaryrefslogtreecommitdiff
path: root/deps/v8/test/cctest/compiler/test-run-jsops.cc
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/cctest/compiler/test-run-jsops.cc')
-rw-r--r--deps/v8/test/cctest/compiler/test-run-jsops.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/deps/v8/test/cctest/compiler/test-run-jsops.cc b/deps/v8/test/cctest/compiler/test-run-jsops.cc
index ff18613b10..9a2c4679a0 100644
--- a/deps/v8/test/cctest/compiler/test-run-jsops.cc
+++ b/deps/v8/test/cctest/compiler/test-run-jsops.cc
@@ -2,9 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// TODO(jochen): Remove this after the setting is turned on globally.
-#define V8_IMMINENT_DEPRECATION_WARNINGS
-
#include "test/cctest/compiler/function-tester.h"
namespace v8 {
@@ -398,6 +395,7 @@ TEST(GlobalLoad) {
TEST(GlobalStoreSloppy) {
+ FLAG_legacy_const = true;
FunctionTester T("(function(a,b) { g = a + b; return g; })");
T.CheckCall(T.Val(33), T.Val(22), T.Val(11));