Index: src/mips/macro-assembler-mips.h |
diff --git a/src/mips/macro-assembler-mips.h b/src/mips/macro-assembler-mips.h |
index ada31842953b342b2f6a197ba950b917407d3d5e..fa24901676a4ab867f7d5c17c1b2bf69e4696118 100644 |
--- a/src/mips/macro-assembler-mips.h |
+++ b/src/mips/macro-assembler-mips.h |
@@ -65,6 +65,14 @@ enum AllocationFlags { |
SIZE_IN_WORDS = 1 << 2 |
}; |
+// Flags used for AllocateHeapNumber |
+enum TaggingMode { |
+ // Tag the result. |
+ TAG_RESULT, |
+ // Don't tag |
+ DONT_TAG_RESULT |
+}; |
+ |
// Flags used for the ObjectToDoubleFPURegister function. |
enum ObjectToDoubleFlags { |
// No special flags. |
@@ -536,7 +544,8 @@ class MacroAssembler: public Assembler { |
Register scratch1, |
Register scratch2, |
Register heap_number_map, |
- Label* gc_required); |
+ Label* gc_required, |
+ TaggingMode tagging_mode = TAG_RESULT); |
void AllocateHeapNumberWithValue(Register result, |
FPURegister value, |
Register scratch1, |