Revision: 18628
Author: [email protected]
Date: Wed Jan 15 18:11:24 2014 UTC
Log: Merged r18293, r18294, r18295, r18328 into 3.23 branch.
MIPS: Fix patching the receiver (global object -> global proxy) after the
interceptor.
MIPS: Properly restore the receiver after the interceptor call.
MIPS: Fix popping order on ARM.
MIPS: Move the receiver into r0 for PatchGlobalProxy.
[email protected]
BUG=
Review URL: https://codereview.chromium.org/131743012
http://code.google.com/p/v8/source/detail?r=18628
Modified:
/branches/3.23/src/mips/stub-cache-mips.cc
/branches/3.23/src/version.cc
=======================================
--- /branches/3.23/src/mips/stub-cache-mips.cc Tue Dec 3 08:00:39 2013 UTC
+++ /branches/3.23/src/mips/stub-cache-mips.cc Wed Jan 15 18:11:24 2014 UTC
@@ -1009,7 +1009,7 @@
// holder haven't changed and thus we can use cached constant function.
if (*interceptor_holder != lookup->holder()) {
stub_compiler_->CheckPrototypes(
- IC::CurrentTypeOf(interceptor_holder, masm->isolate()), receiver,
+ IC::CurrentTypeOf(interceptor_holder, masm->isolate()), holder,
handle(lookup->holder()), scratch1, scratch2, scratch3,
name, depth2, miss);
} else {
@@ -1026,7 +1026,8 @@
masm, optimization, arguments_.immediate(), false);
} else {
Handle<JSFunction> function = optimization.constant_function();
- stub_compiler_->GenerateJumpFunctionIgnoreReceiver(function);
+ __ Move(a0, receiver);
+ stub_compiler_->GenerateJumpFunction(object, function);
}
// Deferred code for fast API call case---clean preallocated space.
@@ -1080,12 +1081,13 @@
{
FrameScope scope(masm, StackFrame::INTERNAL);
- __ Push(holder, name_);
+ __ Push(receiver, holder, name_);
CompileCallLoadPropertyWithInterceptor(
masm, receiver, holder, name_, holder_obj,
IC::kLoadPropertyWithInterceptorOnly);
- __ pop(name_); // Restore the name.
- __ pop(receiver); // Restore the holder.
+ __ pop(name_);
+ __ pop(holder);
+ __ pop(receiver);
}
// If interceptor returns no-result sentinel, call the constant
function.
__ LoadRoot(scratch, Heap::kNoInterceptorResultSentinelRootIndex);
=======================================
--- /branches/3.23/src/version.cc Wed Jan 15 16:25:55 2014 UTC
+++ /branches/3.23/src/version.cc Wed Jan 15 18:11:24 2014 UTC
@@ -35,7 +35,7 @@
#define MAJOR_VERSION 3
#define MINOR_VERSION 23
#define BUILD_NUMBER 17
-#define PATCH_LEVEL 7
+#define PATCH_LEVEL 8
// Use 1 for candidates and 0 otherwise.
// (Boolean macro values are not supported by all preprocessors.)
#define IS_CANDIDATE_VERSION 0
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.