Index: src/crankshaft/hydrogen.h |
diff --git a/src/crankshaft/hydrogen.h b/src/crankshaft/hydrogen.h |
index 46bd1d4b1d56800d072325ea0a00b9bc8bd89623..aff1736d6e6f9378d1b8b930d6c1b6219cfd6833 100644 |
--- a/src/crankshaft/hydrogen.h |
+++ b/src/crankshaft/hydrogen.h |
@@ -2190,8 +2190,11 @@ class HOptimizedGraphBuilder : public HGraphBuilder, public AstVisitor { |
Handle<SharedFunctionInfo> current_shared_info() const { |
return current_info()->shared_info(); |
} |
+ Handle<JSFunction> current_closure() const { |
+ return current_info()->closure(); |
+ } |
TypeFeedbackVector* current_feedback_vector() const { |
- return current_shared_info()->feedback_vector(); |
+ return current_closure()->feedback_vector(); |
} |
void ClearInlinedTestContext() { |
function_state()->ClearInlinedTestContext(); |