Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index e4864e48015df3ef51186b5f814920b6d5364518..18cc25d43ace406da094b393662e0ad0704cbb7a 100755 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -262,7 +262,9 @@ static bool MakeCrankshaftCode(CompilationInfo* info) { |
HTracer::Instance()->TraceCompilation(info->function()); |
} |
- TypeFeedbackOracle oracle(Handle<Code>(info->shared_info()->code())); |
+ TypeFeedbackOracle oracle( |
+ Handle<Code>(info->shared_info()->code()), |
+ Handle<Context>(info->closure()->context()->global_context())); |
HGraphBuilder builder(&oracle); |
HPhase phase(HPhase::kTotal); |
HGraph* graph = builder.CreateGraph(info); |