| Index: src/x87/macro-assembler-x87.h
|
| diff --git a/src/x87/macro-assembler-x87.h b/src/x87/macro-assembler-x87.h
|
| index 8bbfb61fe5be6c6d3626f7345171178453a29f6d..9b6c5e8a0ab80e16486a539c1506243a1117b496 100644
|
| --- a/src/x87/macro-assembler-x87.h
|
| +++ b/src/x87/macro-assembler-x87.h
|
| @@ -601,6 +601,11 @@ class MacroAssembler: public Assembler {
|
| void AllocateOneByteSlicedString(Register result, Register scratch1,
|
| Register scratch2, Label* gc_required);
|
|
|
| + // Allocate and initialize a JSValue wrapper with the specified {constructor}
|
| + // and {value}.
|
| + void AllocateJSValue(Register result, Register constructor, Register value,
|
| + Register scratch, Label* gc_required);
|
| +
|
| // Copy memory, byte-by-byte, from source to destination. Not optimized for
|
| // long or aligned copies.
|
| // The contents of index and scratch are destroyed.
|
| @@ -750,9 +755,11 @@ class MacroAssembler: public Assembler {
|
| void Move(Register dst, const Immediate& x);
|
| void Move(const Operand& dst, const Immediate& x);
|
|
|
| + void Move(Register dst, Smi* source) { Move(dst, Immediate(source)); }
|
| +
|
| // Push a handle value.
|
| void Push(Handle<Object> handle) { push(Immediate(handle)); }
|
| - void Push(Smi* smi) { Push(Handle<Smi>(smi, isolate())); }
|
| + void Push(Smi* smi) { Push(Immediate(smi)); }
|
|
|
| Handle<Object> CodeObject() {
|
| DCHECK(!code_object_.is_null());
|
|
|