Index: test/cctest/compiler/function-tester.h |
diff --git a/test/cctest/compiler/function-tester.h b/test/cctest/compiler/function-tester.h |
index f2b763cfab3ba472a7fb3f1a722b209275c05fd0..afed296356e91a1fad5af686189871039cd64df7 100644 |
--- a/test/cctest/compiler/function-tester.h |
+++ b/test/cctest/compiler/function-tester.h |
@@ -25,15 +25,14 @@ namespace internal { |
namespace compiler { |
class FunctionTester : public InitializedHandleScope { |
- const uint32_t supported_flags = |
Sven Panne
2014/08/28 08:53:13
I don't really think that you wanted to define an
sigurds
2014/08/28 09:25:43
Yes, it should have been static.
|
- CompilationInfo::kContextSpecializing | CompilationInfo::kInliningEnabled; |
- |
public: |
explicit FunctionTester(const char* source, uint32_t flags = 0) |
: isolate(main_isolate()), |
function((FLAG_allow_natives_syntax = true, NewFunction(source))), |
flags_(flags) { |
Compile(function); |
+ const uint32_t supported_flags = CompilationInfo::kContextSpecializing | |
+ CompilationInfo::kInliningEnabled; |
CHECK_EQ(0, flags_ & ~supported_flags); |
} |