| Index: src/deoptimizer.h
 | 
| ===================================================================
 | 
| --- src/deoptimizer.h	(revision 9531)
 | 
| +++ src/deoptimizer.h	(working copy)
 | 
| @@ -86,8 +86,8 @@
 | 
|  #endif
 | 
|  
 | 
|   private:
 | 
| -  LargeObjectChunk* eager_deoptimization_entry_code_;
 | 
| -  LargeObjectChunk* lazy_deoptimization_entry_code_;
 | 
| +  MemoryChunk* eager_deoptimization_entry_code_;
 | 
| +  MemoryChunk* lazy_deoptimization_entry_code_;
 | 
|    Deoptimizer* current_;
 | 
|  
 | 
|  #ifdef ENABLE_DEBUGGER_SUPPORT
 | 
| @@ -173,7 +173,8 @@
 | 
|  
 | 
|    // Patch stack guard check at instruction before pc_after in
 | 
|    // the unoptimized code to unconditionally call replacement_code.
 | 
| -  static void PatchStackCheckCodeAt(Address pc_after,
 | 
| +  static void PatchStackCheckCodeAt(Code* unoptimized_code,
 | 
| +                                    Address pc_after,
 | 
|                                      Code* check_code,
 | 
|                                      Code* replacement_code);
 | 
|  
 | 
| @@ -211,6 +212,11 @@
 | 
|      return OFFSET_OF(Deoptimizer, output_count_);
 | 
|    }
 | 
|    static int output_offset() { return OFFSET_OF(Deoptimizer, output_); }
 | 
| +  static int frame_alignment_marker_offset() {
 | 
| +    return OFFSET_OF(Deoptimizer, frame_alignment_marker_); }
 | 
| +  static int has_alignment_padding_offset() {
 | 
| +    return OFFSET_OF(Deoptimizer, has_alignment_padding_);
 | 
| +  }
 | 
|  
 | 
|    static int GetDeoptimizedCodeCount(Isolate* isolate);
 | 
|  
 | 
| @@ -285,7 +291,7 @@
 | 
|  
 | 
|    void AddDoubleValue(intptr_t slot_address, double value);
 | 
|  
 | 
| -  static LargeObjectChunk* CreateCode(BailoutType type);
 | 
| +  static MemoryChunk* CreateCode(BailoutType type);
 | 
|    static void GenerateDeoptimizationEntries(
 | 
|        MacroAssembler* masm, int count, BailoutType type);
 | 
|  
 | 
| @@ -315,6 +321,10 @@
 | 
|    // Array of output frame descriptions.
 | 
|    FrameDescription** output_;
 | 
|  
 | 
| +  // Frames can be dynamically padded on ia32 to align untagged doubles.
 | 
| +  Object* frame_alignment_marker_;
 | 
| +  intptr_t has_alignment_padding_;
 | 
| +
 | 
|    List<HeapNumberMaterializationDescriptor> deferred_heap_numbers_;
 | 
|  
 | 
|    static const int table_entry_size_;
 | 
| 
 |