MIPS: make isolate accessible from returnvalue

Port r14819 (1ee1db14)

BUG=

Review URL: https://codereview.chromium.org/16099003

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14827 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
palfia@homejinni.com 2013-05-27 16:53:30 +00:00
parent f69727d849
commit a5f949be2d

View File

@ -1438,9 +1438,9 @@ void BaseLoadStubCompiler::GenerateLoadCallback(
__ Subu(sp, sp, 5 * kPointerSize);
__ sw(reg, MemOperand(sp, 4 * kPointerSize));
__ sw(scratch3(), MemOperand(sp, 3 * kPointerSize));
__ li(scratch3(),
__ LoadRoot(scratch3(), Heap::kUndefinedValueRootIndex);
__ li(scratch4(),
Operand(ExternalReference::isolate_address(isolate())));
__ LoadRoot(scratch4(), Heap::kUndefinedValueRootIndex);
__ sw(scratch3(), MemOperand(sp, 2 * kPointerSize));
__ sw(scratch4(), MemOperand(sp, 1 * kPointerSize));
__ sw(name(), MemOperand(sp, 0 * kPointerSize));
@ -1481,7 +1481,7 @@ void BaseLoadStubCompiler::GenerateLoadCallback(
__ CallApiFunctionAndReturn(ref,
kStackUnwindSpace,
returns_handle,
3);
4);
}