Index: src/crankshaft/hydrogen.h |
diff --git a/src/crankshaft/hydrogen.h b/src/crankshaft/hydrogen.h |
index 2eba6c95133cff07bf2406ada814379dff42c9a7..c75dd58b9fea1cc0af19a7e742ad83a0a66a96c6 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(); |