| Index: test/cctest/compiler/function-tester.h
|
| diff --git a/test/cctest/compiler/function-tester.h b/test/cctest/compiler/function-tester.h
|
| index afed296356e91a1fad5af686189871039cd64df7..1386b36383e2bb76a381776479f42f0248e4580d 100644
|
| --- a/test/cctest/compiler/function-tester.h
|
| +++ b/test/cctest/compiler/function-tester.h
|
| @@ -32,7 +32,8 @@ class FunctionTester : public InitializedHandleScope {
|
| flags_(flags) {
|
| Compile(function);
|
| const uint32_t supported_flags = CompilationInfo::kContextSpecializing |
|
| - CompilationInfo::kInliningEnabled;
|
| + CompilationInfo::kInliningEnabled |
|
| + CompilationInfo::kTypingEnabled;
|
| CHECK_EQ(0, flags_ & ~supported_flags);
|
| }
|
|
|
| @@ -53,6 +54,9 @@ class FunctionTester : public InitializedHandleScope {
|
| if (flags_ & CompilationInfo::kInliningEnabled) {
|
| info.MarkAsInliningEnabled();
|
| }
|
| + if (flags_ & CompilationInfo::kTypingEnabled) {
|
| + info.MarkAsTypingEnabled();
|
| + }
|
| CHECK(Rewriter::Rewrite(&info));
|
| CHECK(Scope::Analyze(&info));
|
| CHECK_NE(NULL, info.scope());
|
|
|