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

Unified Diff: src/arm/macro-assembler-arm.h

Issue 24793002: Thumb2 Backend: Make arithmetic instructions set condition codes by default Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/arm/macro-assembler-arm.h
diff --git a/src/arm/macro-assembler-arm.h b/src/arm/macro-assembler-arm.h
index da629e14fd34b3770e8f84b1a19c87389f9929de..e5bc23ac1d457f1ea75ecbf606da02f6ba4287c3 100644
--- a/src/arm/macro-assembler-arm.h
+++ b/src/arm/macro-assembler-arm.h
@@ -1191,11 +1191,11 @@ class MacroAssembler: public Assembler {
// ---------------------------------------------------------------------------
// Smi utilities
- void SmiTag(Register reg, SBit s = LeaveCC) {
- add(reg, reg, Operand(reg), s);
+ void SmiTag(Register reg, SBitMode smode = DontCareCC) {
+ add(reg, reg, Operand(reg), smode);
}
- void SmiTag(Register dst, Register src, SBit s = LeaveCC) {
- add(dst, src, Operand(src), s);
+ void SmiTag(Register dst, Register src, SBitMode smode = DontCareCC) {
+ add(dst, src, Operand(src), smode);
}
// Try to convert int32 to smi. If the value is to large, preserve
@@ -1211,11 +1211,11 @@ class MacroAssembler: public Assembler {
}
- void SmiUntag(Register reg, SBit s = LeaveCC) {
- mov(reg, Operand::SmiUntag(reg), s);
+ void SmiUntag(Register reg, SBitMode smode = DontCareCC) {
+ mov(reg, Operand::SmiUntag(reg), smode);
}
- void SmiUntag(Register dst, Register src, SBit s = LeaveCC) {
- mov(dst, Operand::SmiUntag(src), s);
+ void SmiUntag(Register dst, Register src, SBitMode smode = DontCareCC) {
+ mov(dst, Operand::SmiUntag(src), smode);
}
// Untag the source value into destination and jump if source is a smi.
« 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