diff options
Diffstat (limited to 'deps/v8/test/cctest/compiler/test-run-variables.cc')
-rw-r--r-- | deps/v8/test/cctest/compiler/test-run-variables.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/deps/v8/test/cctest/compiler/test-run-variables.cc b/deps/v8/test/cctest/compiler/test-run-variables.cc index 4f587ef085..f856368509 100644 --- a/deps/v8/test/cctest/compiler/test-run-variables.cc +++ b/deps/v8/test/cctest/compiler/test-run-variables.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 { @@ -51,6 +48,7 @@ static const char* bind_tests[] = { static void RunVariableTests(const char* source, const char* tests[]) { + i::FLAG_legacy_const = true; EmbeddedVector<char, 512> buffer; for (int i = 0; tests[i] != NULL; i += 3) { |