Fix build
authorwhesse@chromium.org <whesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 23 Mar 2009 13:51:41 +0000 (13:51 +0000)
committerwhesse@chromium.org <whesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 23 Mar 2009 13:51:41 +0000 (13:51 +0000)
TBR=kmillikin@chromium.org
Review URL: http://codereview.chromium.org/52013

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1576 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/virtual-frame.h

index 6c33e62..9f5cf01 100644 (file)
@@ -165,6 +165,11 @@ class FrameElement BASE_EMBEDDED {
   // Used to initialize invalid, memory, and register elements.
   inline void Initialize(Type type, Register reg, SyncFlag is_synced);
 
+  void set_index(int new_index) {
+    ASSERT(is_copy());
+    data_.index_ = new_index;
+  }
+
   friend class VirtualFrame;
 };