Index: src/arm64/macro-assembler-arm64.h |
diff --git a/src/arm64/macro-assembler-arm64.h b/src/arm64/macro-assembler-arm64.h |
index 628ab6d5b7af8fc1a9f122b46df206785962e589..78997d6d020ce8b18a96eb5d54faaba4f0b3c738 100644 |
--- a/src/arm64/macro-assembler-arm64.h |
+++ b/src/arm64/macro-assembler-arm64.h |
@@ -1340,6 +1340,12 @@ class MacroAssembler : public Assembler { |
CPURegister heap_number_map = NoReg, |
MutableMode mode = IMMUTABLE); |
+ // Allocate and initialize a JSValue wrapper with the specified {constructor} |
+ // and {value}. |
+ void AllocateJSValue(Register result, Register constructor, Register value, |
+ Register scratch1, Register scratch2, |
+ Label* gc_required); |
+ |
// --------------------------------------------------------------------------- |
// Support functions. |