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

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

Issue 1641083003: [builtins] Make Math.max and Math.min fast by default. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: SKIP unrelated ignition failures. 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
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/bailout-reason.h" 9 #include "src/bailout-reason.h"
10 #include "src/frames.h" 10 #include "src/frames.h"
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 void Call(Handle<Code> code, 121 void Call(Handle<Code> code,
122 RelocInfo::Mode rmode = RelocInfo::CODE_TARGET, 122 RelocInfo::Mode rmode = RelocInfo::CODE_TARGET,
123 TypeFeedbackId ast_id = TypeFeedbackId::None(), 123 TypeFeedbackId ast_id = TypeFeedbackId::None(),
124 Condition cond = al, 124 Condition cond = al,
125 TargetAddressStorageMode mode = CAN_INLINE_TARGET_ADDRESS); 125 TargetAddressStorageMode mode = CAN_INLINE_TARGET_ADDRESS);
126 void Ret(Condition cond = al); 126 void Ret(Condition cond = al);
127 127
128 // Emit code to discard a non-negative number of pointer-sized elements 128 // Emit code to discard a non-negative number of pointer-sized elements
129 // from the stack, clobbering only the sp register. 129 // from the stack, clobbering only the sp register.
130 void Drop(int count, Condition cond = al); 130 void Drop(int count, Condition cond = al);
131 void Drop(Register count, Condition cond = al);
131 132
132 void Ret(int drop, Condition cond = al); 133 void Ret(int drop, Condition cond = al);
133 134
134 // Swap two registers. If the scratch register is omitted then a slightly 135 // Swap two registers. If the scratch register is omitted then a slightly
135 // less efficient form using xor instead of mov is emitted. 136 // less efficient form using xor instead of mov is emitted.
136 void Swap(Register reg1, 137 void Swap(Register reg1,
137 Register reg2, 138 Register reg2,
138 Register scratch = no_reg, 139 Register scratch = no_reg,
139 Condition cond = al); 140 Condition cond = al);
140 141
(...skipping 1397 matching lines...) Expand 10 before | Expand all | Expand 10 after
1538 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1539 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1539 #else 1540 #else
1540 #define ACCESS_MASM(masm) masm-> 1541 #define ACCESS_MASM(masm) masm->
1541 #endif 1542 #endif
1542 1543
1543 1544
1544 } // namespace internal 1545 } // namespace internal
1545 } // namespace v8 1546 } // namespace v8
1546 1547
1547 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1548 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698