Index: test/cctest/compiler/function-tester.h |
diff --git a/test/cctest/compiler/function-tester.h b/test/cctest/compiler/function-tester.h |
index 292c3f2f4028fc1082d189795ac366bb095eec74..b9a5d1d4d3b19422e700bcdcddfde691c9d43b55 100644 |
--- a/test/cctest/compiler/function-tester.h |
+++ b/test/cctest/compiler/function-tester.h |
@@ -30,7 +30,7 @@ class FunctionTester : public InitializedHandleScope { |
flags_(flags) { |
Compile(function); |
const uint32_t supported_flags = |
- CompilationInfo::kFunctionContextSpecializing | |
+ CompilationInfo::kNativeContextSpecializing | |
CompilationInfo::kInliningEnabled; |
CHECK_EQ(0u, flags_ & ~supported_flags); |
} |
@@ -212,8 +212,8 @@ class FunctionTester : public InitializedHandleScope { |
CHECK(Parser::ParseStatic(info.parse_info())); |
} |
info.SetOptimizing(); |
- if (flags_ & CompilationInfo::kFunctionContextSpecializing) { |
- info.MarkAsFunctionContextSpecializing(); |
+ if (flags_ & CompilationInfo::kNativeContextSpecializing) { |
+ info.MarkAsNativeContextSpecializing(); |
} |
if (flags_ & CompilationInfo::kInliningEnabled) { |
info.MarkAsInliningEnabled(); |