| Index: src/ia32/macro-assembler-ia32.cc
 | 
| diff --git a/src/ia32/macro-assembler-ia32.cc b/src/ia32/macro-assembler-ia32.cc
 | 
| index 2e4cfa4f0590593b03e5262330c12c8238a37990..3356e818922d0ccce2967e4cd2bf6a586917663d 100644
 | 
| --- a/src/ia32/macro-assembler-ia32.cc
 | 
| +++ b/src/ia32/macro-assembler-ia32.cc
 | 
| @@ -357,6 +357,14 @@ void MacroAssembler::CompareRoot(Register with, Heap::RootListIndex index) {
 | 
|  }
 | 
|  
 | 
|  
 | 
| +void MacroAssembler::CompareRoot(const Operand& with,
 | 
| +                                 Heap::RootListIndex index) {
 | 
| +  // see ROOT_ACCESSOR macro in factory.h
 | 
| +  Handle<Object> value(&isolate()->heap()->roots_array_start()[index]);
 | 
| +  cmp(with, value);
 | 
| +}
 | 
| +
 | 
| +
 | 
|  void MacroAssembler::CmpObjectType(Register heap_object,
 | 
|                                     InstanceType type,
 | 
|                                     Register map) {
 | 
| 
 |