Index: src/ia32/codegen-ia32.h |
=================================================================== |
--- src/ia32/codegen-ia32.h (revision 5232) |
+++ src/ia32/codegen-ia32.h (working copy) |
@@ -358,6 +358,10 @@ |
return FieldOperand(array, index_as_smi, times_half_pointer_size, offset); |
} |
+ static Operand ContextOperand(Register context, int index) { |
+ return Operand(context, Context::SlotOffset(index)); |
+ } |
+ |
private: |
// Construction/Destruction |
explicit CodeGenerator(MacroAssembler* masm); |
@@ -430,10 +434,6 @@ |
// The following are used by class Reference. |
void LoadReference(Reference* ref); |
- static Operand ContextOperand(Register context, int index) { |
- return Operand(context, Context::SlotOffset(index)); |
- } |
- |
Operand SlotOperand(Slot* slot, Register tmp); |
Operand ContextSlotOperandCheckExtensions(Slot* slot, |
@@ -653,6 +653,8 @@ |
void GenerateIsSpecObject(ZoneList<Expression*>* args); |
void GenerateIsFunction(ZoneList<Expression*>* args); |
void GenerateIsUndetectableObject(ZoneList<Expression*>* args); |
+ void GenerateIsStringWrapperSafeForDefaultValueOf( |
+ ZoneList<Expression*>* args); |
// Support for construct call checks. |
void GenerateIsConstructCall(ZoneList<Expression*>* args); |