Index: src/arm/macro-assembler-arm.h |
=================================================================== |
--- src/arm/macro-assembler-arm.h (revision 6683) |
+++ src/arm/macro-assembler-arm.h (working copy) |
@@ -45,6 +45,12 @@ |
} |
+static inline Operand SmiUntagOperand(Register object) { |
+ return Operand(object, ASR, kSmiTagSize); |
+} |
+ |
+ |
+ |
// Give alias names to registers |
const Register cp = { 8 }; // JavaScript context pointer |
const Register roots = { 10 }; // Roots array pointer. |
@@ -886,11 +892,15 @@ |
MacroAssembler* masm() { return &masm_; } |
// Emit an instruction directly. |
- void Emit(Instr x); |
+ void Emit(Instr instr); |
// Emit an address directly. |
void Emit(Address addr); |
+ // Emit the condition part of an instruction leaving the rest of the current |
+ // instruction unchanged. |
+ void EmitCondition(Condition cond); |
+ |
private: |
byte* address_; // The address of the code being patched. |
int instructions_; // Number of instructions of the expected patch size. |