Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 8c55a32af42642a356df79f4685d8ca609f7dc2c..2255ab6f971f6d679d92253f2a567d5fb01aa6f4 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -5425,7 +5425,8 @@ bool HGraphBuilder::TryInline(CallKind call_kind, |
arguments->length(), |
function, |
call_kind, |
- function_state()->is_construct())); |
+ function_state()->is_construct(), |
+ function->scope()->arguments())); |
// If the function uses arguments object create and bind one. |
if (function->scope()->arguments() != NULL) { |
ASSERT(function->scope()->arguments()->IsStackAllocated()); |