Index: src/ic.cc |
=================================================================== |
--- src/ic.cc (revision 4906) |
+++ src/ic.cc (working copy) |
@@ -81,7 +81,8 @@ |
// To improve the performance of the (much used) IC code, we unfold |
// a few levels of the stack frame iteration code. This yields a |
// ~35% speedup when running DeltaBlue with the '--nouse-ic' flag. |
- const Address entry = Top::c_entry_fp(Isolate::Current()->thread_local_top()); |
+ const Address entry = |
+ Isolate::c_entry_fp(Isolate::Current()->thread_local_top()); |
Address* pc_address = |
reinterpret_cast<Address*>(entry + ExitFrameConstants::kCallerPCOffset); |
Address fp = Memory::Address_at(entry + ExitFrameConstants::kCallerFPOffset); |
@@ -202,7 +203,7 @@ |
HandleScope scope; |
Handle<Object> args[2] = { key, object }; |
Handle<Object> error = Factory::NewTypeError(type, HandleVector(args, 2)); |
- return Top::Throw(*error); |
+ return Isolate::Current()->Throw(*error); |
} |
@@ -210,7 +211,7 @@ |
HandleScope scope; |
Handle<Object> error = |
Factory::NewReferenceError(type, HandleVector(&name, 1)); |
- return Top::Throw(*error); |
+ return Isolate::Current()->Throw(*error); |
} |