Index: src/arm/macro-assembler-arm.h |
diff --git a/src/arm/macro-assembler-arm.h b/src/arm/macro-assembler-arm.h |
index c8a6a945279ef74981b3c37632a0f792dcb2d39f..d5c2cf48ed76a9e520cdaa04ba5937f629af91c7 100644 |
--- a/src/arm/macro-assembler-arm.h |
+++ b/src/arm/macro-assembler-arm.h |
@@ -68,6 +68,13 @@ 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 ObjectToDoubleVFPRegister function. |
enum ObjectToDoubleFlags { |
@@ -731,7 +738,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, |
DwVfpRegister value, |
Register scratch1, |