Index: src/ast.cc |
diff --git a/src/ast.cc b/src/ast.cc |
index 2e26999c8cf177d4383d9429f3f51416e4d2d78a..35b6192ea66d498a8a9d5c0090ba9a3cee95f500 100644 |
--- a/src/ast.cc |
+++ b/src/ast.cc |
@@ -774,8 +774,7 @@ bool Call::ComputeGlobalTarget(Handle<GlobalObject> global, |
Handle<JSFunction> candidate(JSFunction::cast(cell_->value())); |
// If the function is in new space we assume it's more likely to |
// change and thus prefer the general IC code. |
- if (!HEAP->InNewSpace(*candidate) && |
- CanCallWithoutIC(candidate, arguments()->length())) { |
+ if (!HEAP->InNewSpace(*candidate)) { |
target_ = candidate; |
return true; |
} |