Index: src/ic.cc |
diff --git a/src/ic.cc b/src/ic.cc |
index d823c91013983690aa3e6ba675491c97c58f522f..85d7a5b528c3bb6466dc9192befc7030523274bf 100644 |
--- a/src/ic.cc |
+++ b/src/ic.cc |
@@ -1302,9 +1302,9 @@ Object* CallIC_Miss(Arguments args) { |
Handle<JSFunction> function = Handle<JSFunction>(JSFunction::cast(result)); |
InLoopFlag in_loop = ic.target()->ic_in_loop(); |
if (in_loop == IN_LOOP) { |
- CompileLazyInLoop(function, CLEAR_EXCEPTION); |
+ CompileLazyInLoop(function, args.at<Object>(0), CLEAR_EXCEPTION); |
} else { |
- CompileLazy(function, CLEAR_EXCEPTION); |
+ CompileLazy(function, args.at<Object>(0), CLEAR_EXCEPTION); |
} |
return *function; |
} |