Reviewers: Kevin Millikin,

Description:
Fix ARM build for changes to VirtualFrame

Please review this at http://codereview.chromium.org/53009

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
   M     src/virtual-frame-arm.h
   M     src/virtual-frame-arm.cc


Index: src/virtual-frame-arm.cc
===================================================================
--- src/virtual-frame-arm.cc    (revision 1593)
+++ src/virtual-frame-arm.cc    (working copy)
@@ -52,6 +52,9 @@
    for (int i = 0; i < parameter_count_ + 1; i++) {
      elements_.Add(FrameElement::MemoryElement());
    }
+  for (int i = 0; i < kNumRegisters; i++) {
+    register_locations_[i] = kIllegalIndex;
+  }
  }


Index: src/virtual-frame-arm.h
===================================================================
--- src/virtual-frame-arm.h     (revision 1593)
+++ src/virtual-frame-arm.h     (working copy)
@@ -338,6 +338,10 @@
    // (the fp register).
    int frame_pointer_;

+  // The index of the register frame element using each register, or
+  // kIllegalIndex if a register is not on the frame.
+  int register_locations_[kNumRegisters];
+
    // The frame has an embedded register file that it uses to track  
registers
    // used in the frame.
    RegisterFile frame_registers_;



--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to