diff src/share/vm/graal/graalJavaAccess.hpp @ 4181:319860ae697a

Simplify FrameMap: make offsets of spill slots and outgoing parameters independent so that they can be allocated at the same time, eliminating the separate phases. This makes the separate StackBlock unnecesary. Change CiStackSlot to use byte offsets instead of spill slot index. This makes CiTarget.spillSlotSize unnecessary.
author Christian Wimmer <Christian.Wimmer@Oracle.com>
date Mon, 02 Jan 2012 14:16:08 -0800
parents b648304ba4ff
children b765172082ac
line wrap: on
line diff
--- a/src/share/vm/graal/graalJavaAccess.hpp	Mon Jan 02 22:18:16 2012 +0100
+++ b/src/share/vm/graal/graalJavaAccess.hpp	Mon Jan 02 14:16:08 2012 -0800
@@ -213,7 +213,8 @@
     int_field(CiRegister, number)                                                       \
   end_class                                                                             \
   start_class(CiStackSlot)                                                              \
-    int_field(CiStackSlot, index)                                                       \
+    int_field(CiStackSlot, offset)                                                      \
+    boolean_field(CiStackSlot, addFrameSize)                                            \
   end_class                                                                             \
   start_class(CiVirtualObject)                                                          \
     int_field(CiVirtualObject, id)                                                      \