Index: src/ppc/macro-assembler-ppc.h |
diff --git a/src/ppc/macro-assembler-ppc.h b/src/ppc/macro-assembler-ppc.h |
index 59ea5dceeb17b3474af326b5a0a3c5b4f1367ef0..78de89aa5c64b1d87d1728e53d4663e7bd1e1f37 100644 |
--- a/src/ppc/macro-assembler-ppc.h |
+++ b/src/ppc/macro-assembler-ppc.h |
@@ -690,6 +690,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. |