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

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

Issue 1734643002: [fullcodegen] Factor out EmitNamedPropertyLoad. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased. Created 4 years, 9 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/mips/macro-assembler-mips.h ('k') | src/x87/macro-assembler-x87.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/mips64/assembler-mips64.h" 10 #include "src/mips64/assembler-mips64.h"
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 Condition cond, 258 Condition cond,
259 Register reg, 259 Register reg,
260 const Operand& op); 260 const Operand& op);
261 261
262 // Swap two registers. If the scratch register is omitted then a slightly 262 // Swap two registers. If the scratch register is omitted then a slightly
263 // less efficient form using xor instead of mov is emitted. 263 // less efficient form using xor instead of mov is emitted.
264 void Swap(Register reg1, Register reg2, Register scratch = no_reg); 264 void Swap(Register reg1, Register reg2, Register scratch = no_reg);
265 265
266 void Call(Label* target); 266 void Call(Label* target);
267 267
268 void Move(Register dst, Handle<Object> handle) { li(dst, handle); }
268 void Move(Register dst, Smi* smi) { li(dst, Operand(smi)); } 269 void Move(Register dst, Smi* smi) { li(dst, Operand(smi)); }
269 270
270 inline void Move(Register dst, Register src) { 271 inline void Move(Register dst, Register src) {
271 if (!dst.is(src)) { 272 if (!dst.is(src)) {
272 mov(dst, src); 273 mov(dst, src);
273 } 274 }
274 } 275 }
275 276
276 inline void Move(FPURegister dst, FPURegister src) { 277 inline void Move(FPURegister dst, FPURegister src) {
277 if (!dst.is(src)) { 278 if (!dst.is(src)) {
(...skipping 1682 matching lines...) Expand 10 before | Expand all | Expand 10 after
1960 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1961 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1961 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1962 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1962 #else 1963 #else
1963 #define ACCESS_MASM(masm) masm-> 1964 #define ACCESS_MASM(masm) masm->
1964 #endif 1965 #endif
1965 1966
1966 } // namespace internal 1967 } // namespace internal
1967 } // namespace v8 1968 } // namespace v8
1968 1969
1969 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1970 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/macro-assembler-mips.h ('k') | src/x87/macro-assembler-x87.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698