Reviewers: akos.palfi.imgtec, djordje, rmcilroy,
Message:
Fix a mistake in my porting of https://codereview.chromium.org/1245133002
for
mips. PTAL.
Description:
MIPS64: Fix InterpreterEntryTrampoline().
Was incorrectly loading BytecodeArray::kFrameSizeOffset as 64-bit int.
TEST=cctest/test-interpreter/TestInterpreterReturn
BUG=
Please review this at https://codereview.chromium.org/1286343002/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+2, -2 lines):
M src/mips64/builtins-mips64.cc
Index: src/mips64/builtins-mips64.cc
diff --git a/src/mips64/builtins-mips64.cc b/src/mips64/builtins-mips64.cc
index
6d97e4405f1b0c343818a2a0faa0fca8de3f30f6..eb1bd554195a331ffcd782053238039d5069671b
100644
--- a/src/mips64/builtins-mips64.cc
+++ b/src/mips64/builtins-mips64.cc
@@ -904,8 +904,8 @@ void
Builtins::Generate_InterpreterEntryTrampoline(MacroAssembler* masm) {
// Allocate the local and temporary register file on the stack.
{
- // Load frame size from the BytecodeArray object.
- __ ld(a4, FieldMemOperand(kInterpreterBytecodeArrayRegister,
+ // Load frame size (word) from the BytecodeArray object.
+ __ lw(a4, FieldMemOperand(kInterpreterBytecodeArrayRegister,
BytecodeArray::kFrameSizeOffset));
// Do a stack check to ensure we don't go over the limit.
--
--
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/d/optout.