Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: src/mips/builtins-mips.cc

Issue 1674153002: Fix mips broken by 91009c50. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #if V8_TARGET_ARCH_MIPS 5 #if V8_TARGET_ARCH_MIPS
6 6
7 #include "src/codegen.h" 7 #include "src/codegen.h"
8 #include "src/debug/debug.h" 8 #include "src/debug/debug.h"
9 #include "src/deoptimizer.h" 9 #include "src/deoptimizer.h"
10 #include "src/full-codegen/full-codegen.h" 10 #include "src/full-codegen/full-codegen.h"
(...skipping 1125 matching lines...) Expand 10 before | Expand all | Expand 10 after
1136 // Call the constructor with a0, a1, and a3 unmodified. 1136 // Call the constructor with a0, a1, and a3 unmodified.
1137 __ Jump(masm->isolate()->builtins()->Construct(), RelocInfo::CODE_TARGET); 1137 __ Jump(masm->isolate()->builtins()->Construct(), RelocInfo::CODE_TARGET);
1138 } 1138 }
1139 1139
1140 1140
1141 static void Generate_EnterBytecodeDispatch(MacroAssembler* masm) { 1141 static void Generate_EnterBytecodeDispatch(MacroAssembler* masm) {
1142 // Initialize register file register and dispatch table register. 1142 // Initialize register file register and dispatch table register.
1143 __ li(kInterpreterDispatchTableRegister, 1143 __ li(kInterpreterDispatchTableRegister,
1144 Operand(ExternalReference::interpreter_dispatch_table_address( 1144 Operand(ExternalReference::interpreter_dispatch_table_address(
1145 masm->isolate()))); 1145 masm->isolate())));
1146 __ Addu(kInterpreterDispatchTableRegister, kInterpreterDispatchTableRegister,
1147 Operand(FixedArray::kHeaderSize - kHeapObjectTag));
1148 1146
1149 // Get the context from the frame. 1147 // Get the context from the frame.
1150 __ lw(kContextRegister, 1148 __ lw(kContextRegister,
1151 MemOperand(kInterpreterRegisterFileRegister, 1149 MemOperand(kInterpreterRegisterFileRegister,
1152 InterpreterFrameConstants::kContextFromRegisterPointer)); 1150 InterpreterFrameConstants::kContextFromRegisterPointer));
1153 1151
1154 // Get the bytecode array pointer from the frame. 1152 // Get the bytecode array pointer from the frame.
1155 __ lw(a1, 1153 __ lw(a1,
1156 MemOperand(kInterpreterRegisterFileRegister, 1154 MemOperand(kInterpreterRegisterFileRegister,
1157 InterpreterFrameConstants::kFunctionFromRegisterPointer)); 1155 InterpreterFrameConstants::kFunctionFromRegisterPointer));
(...skipping 1606 matching lines...) Expand 10 before | Expand all | Expand 10 after
2764 } 2762 }
2765 } 2763 }
2766 2764
2767 2765
2768 #undef __ 2766 #undef __
2769 2767
2770 } // namespace internal 2768 } // namespace internal
2771 } // namespace v8 2769 } // namespace v8
2772 2770
2773 #endif // V8_TARGET_ARCH_MIPS 2771 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698