Index: src/arm/macro-assembler-arm.h |
diff --git a/src/arm/macro-assembler-arm.h b/src/arm/macro-assembler-arm.h |
index 502f7c46d26fc85dd9ad1ce70bb3ca0ce2eef230..26811b988cfe5efdc1b08582694d0d6987531374 100644 |
--- a/src/arm/macro-assembler-arm.h |
+++ b/src/arm/macro-assembler-arm.h |
@@ -806,6 +806,12 @@ class MacroAssembler: public Assembler { |
Register heap_number_map, |
Label* gc_required); |
+ // 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); |
+ |
// Copies a number of bytes from src to dst. All registers are clobbered. On |
// exit src and dst will point to the place just after where the last byte was |
// read or written and length will be zero. |