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

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

Issue 426233002: Land the Fan (disabled) (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Review feedback, rebase and "git cl format" Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('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_ARM_MACRO_ASSEMBLER_ARM_H_ 5 #ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_
6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_ 6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/frames.h" 9 #include "src/frames.h"
10 #include "src/globals.h" 10 #include "src/globals.h"
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 void Usat(Register dst, int satpos, const Operand& src, 145 void Usat(Register dst, int satpos, const Operand& src,
146 Condition cond = al); 146 Condition cond = al);
147 147
148 void Call(Label* target); 148 void Call(Label* target);
149 void Push(Register src) { push(src); } 149 void Push(Register src) { push(src); }
150 void Pop(Register dst) { pop(dst); } 150 void Pop(Register dst) { pop(dst); }
151 151
152 // Register move. May do nothing if the registers are identical. 152 // Register move. May do nothing if the registers are identical.
153 void Move(Register dst, Handle<Object> value); 153 void Move(Register dst, Handle<Object> value);
154 void Move(Register dst, Register src, Condition cond = al); 154 void Move(Register dst, Register src, Condition cond = al);
155 void Move(Register dst, const Operand& src, Condition cond = al) {
156 if (!src.is_reg() || !src.rm().is(dst)) mov(dst, src, LeaveCC, cond);
157 }
155 void Move(DwVfpRegister dst, DwVfpRegister src); 158 void Move(DwVfpRegister dst, DwVfpRegister src);
156 159
157 void Load(Register dst, const MemOperand& src, Representation r); 160 void Load(Register dst, const MemOperand& src, Representation r);
158 void Store(Register src, const MemOperand& dst, Representation r); 161 void Store(Register src, const MemOperand& dst, Representation r);
159 162
160 // Load an object from the root table. 163 // Load an object from the root table.
161 void LoadRoot(Register destination, 164 void LoadRoot(Register destination,
162 Heap::RootListIndex index, 165 Heap::RootListIndex index,
163 Condition cond = al); 166 Condition cond = al);
164 // Store an object to the root table. 167 // Store an object to the root table.
(...skipping 1454 matching lines...) Expand 10 before | Expand all | Expand 10 after
1619 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1622 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1620 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1623 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1621 #else 1624 #else
1622 #define ACCESS_MASM(masm) masm-> 1625 #define ACCESS_MASM(masm) masm->
1623 #endif 1626 #endif
1624 1627
1625 1628
1626 } } // namespace v8::internal 1629 } } // namespace v8::internal
1627 1630
1628 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1631 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698