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

Side by Side Diff: src/mips/macro-assembler-mips.h

Issue 1734643002: [fullcodegen] Factor out EmitNamedPropertyLoad. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased. 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 | « src/ia32/macro-assembler-ia32.h ('k') | src/mips64/macro-assembler-mips64.h » ('j') | 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 #ifndef V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 5 #ifndef V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/globals.h" 9 #include "src/globals.h"
10 #include "src/mips/assembler-mips.h" 10 #include "src/mips/assembler-mips.h"
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 Condition cond, 230 Condition cond,
231 Register reg, 231 Register reg,
232 const Operand& op); 232 const Operand& op);
233 233
234 // Swap two registers. If the scratch register is omitted then a slightly 234 // Swap two registers. If the scratch register is omitted then a slightly
235 // less efficient form using xor instead of mov is emitted. 235 // less efficient form using xor instead of mov is emitted.
236 void Swap(Register reg1, Register reg2, Register scratch = no_reg); 236 void Swap(Register reg1, Register reg2, Register scratch = no_reg);
237 237
238 void Call(Label* target); 238 void Call(Label* target);
239 239
240 void Move(Register dst, Handle<Object> handle) { li(dst, handle); }
240 void Move(Register dst, Smi* smi) { li(dst, Operand(smi)); } 241 void Move(Register dst, Smi* smi) { li(dst, Operand(smi)); }
241 242
242 inline void Move(Register dst, Register src) { 243 inline void Move(Register dst, Register src) {
243 if (!dst.is(src)) { 244 if (!dst.is(src)) {
244 mov(dst, src); 245 mov(dst, src);
245 } 246 }
246 } 247 }
247 248
248 inline void Move(FPURegister dst, FPURegister src) { 249 inline void Move(FPURegister dst, FPURegister src) {
249 if (!dst.is(src)) { 250 if (!dst.is(src)) {
(...skipping 1547 matching lines...) Expand 10 before | Expand all | Expand 10 after
1797 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1798 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1798 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1799 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1799 #else 1800 #else
1800 #define ACCESS_MASM(masm) masm-> 1801 #define ACCESS_MASM(masm) masm->
1801 #endif 1802 #endif
1802 1803
1803 } // namespace internal 1804 } // namespace internal
1804 } // namespace v8 1805 } // namespace v8
1805 1806
1806 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1807 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/ia32/macro-assembler-ia32.h ('k') | src/mips64/macro-assembler-mips64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698