Mercurial > hg > graal-compiler
comparison graal/GraalCompiler/src/com/sun/c1x/lir/FrameMap.java @ 2565:cc1f1d396288
Remove inlining (3rd part)
author | Gilles Duboscq <gilles.duboscq@oracle.com> |
---|---|
date | Fri, 29 Apr 2011 16:46:30 +0200 |
parents | 16b9a8b5ad39 |
children | fec99fc30af1 |
comparison
equal
deleted
inserted
replaced
2564:274360f98f97 | 2565:cc1f1d396288 |
---|---|
324 assert offset <= (frameSize() - size) : "slot outside of frame"; | 324 assert offset <= (frameSize() - size) : "slot outside of frame"; |
325 return offset; | 325 return offset; |
326 } | 326 } |
327 | 327 |
328 private int offsetForMonitorBase(int index) { | 328 private int offsetForMonitorBase(int index) { |
329 assert index >= 0 && index < monitorCount : "invalid monitor index"; | 329 assert index >= 0 && index < monitorCount : "invalid monitor index : " + index+ " (monitorCount=" + monitorCount + ")"; |
330 int size = compilation.runtime.sizeOfBasicObjectLock(); | 330 int size = compilation.runtime.sizeOfBasicObjectLock(); |
331 assert size != 0 : "monitors are not on the stack in this VM"; | 331 assert size != 0 : "monitors are not on the stack in this VM"; |
332 int offset = offsetToMonitors() + index * size; | 332 int offset = offsetToMonitors() + index * size; |
333 assert offset <= (frameSize() - size) : "monitor outside of frame"; | 333 assert offset <= (frameSize() - size) : "monitor outside of frame"; |
334 return offset; | 334 return offset; |