Chromium Code Reviews

Unified Diff: src/ic.cc

Issue 352173006: Clean up the global object naming madness. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: src/ic.cc
diff --git a/src/ic.cc b/src/ic.cc
index b4ef2b839275fd807c1d919bb9c2efc27941bcf1..ea9362a5f37b69e3e56e27a0ee5a2daaab9f5d98 100644
--- a/src/ic.cc
+++ b/src/ic.cc
@@ -1852,7 +1852,7 @@ bool CallIC::DoCustomHandler(Handle<Object> receiver,
// Are we the array function?
Handle<JSFunction> array_function = Handle<JSFunction>(
- isolate()->context()->native_context()->array_function(), isolate());
+ isolate()->native_context()->array_function());
if (array_function.is_identical_to(Handle<JSFunction>::cast(function))) {
// Alter the slot.
Handle<AllocationSite> new_site = isolate()->factory()->NewAllocationSite();

Powered by Google App Engine