Index: test/cctest/compiler/test-run-variables.cc |
diff --git a/test/cctest/compiler/test-run-variables.cc b/test/cctest/compiler/test-run-variables.cc |
index 89581acf48ee6a7428929bc0e74ccf51ebb361ad..f85636850924ba5e0e26eadb0ef62333fb8ade7a 100644 |
--- a/test/cctest/compiler/test-run-variables.cc |
+++ b/test/cctest/compiler/test-run-variables.cc |
@@ -48,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) { |