| Index: src/crankshaft/hydrogen.h
|
| diff --git a/src/crankshaft/hydrogen.h b/src/crankshaft/hydrogen.h
|
| index e73e700b38a00cb74b17a06202c294a989d188fb..4104e5957be9dd215a9f5703849172395beb7592 100644
|
| --- a/src/crankshaft/hydrogen.h
|
| +++ b/src/crankshaft/hydrogen.h
|
| @@ -2239,11 +2239,14 @@ class HOptimizedGraphBuilder : public HGraphBuilder, public AstVisitor {
|
| TestContext* inlined_test_context() const {
|
| return function_state()->test_context();
|
| }
|
| + Handle<JSFunction> current_closure() const {
|
| + return current_info()->closure();
|
| + }
|
| Handle<SharedFunctionInfo> current_shared_info() const {
|
| return current_info()->shared_info();
|
| }
|
| TypeFeedbackVector* current_feedback_vector() const {
|
| - return current_shared_info()->feedback_vector();
|
| + return current_closure()->feedback_vector();
|
| }
|
| void ClearInlinedTestContext() {
|
| function_state()->ClearInlinedTestContext();
|
|
|