comparison graal/GraalCompiler/src/com/sun/c1x/value/FrameState.java @ 2775:3b73b230b86b

Removed more stateAfter usages.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Tue, 24 May 2011 13:51:32 +0200
parents 27512ea6bbcb
children 398b8fa5dc81
comparison
equal deleted inserted replaced
2774:93fd92c9f8b0 2775:3b73b230b86b
76 this.localsSize = localsSize; 76 this.localsSize = localsSize;
77 this.stackSize = stackSize; 77 this.stackSize = stackSize;
78 this.locksSize = locksSize; 78 this.locksSize = locksSize;
79 C1XMetrics.FrameStatesCreated++; 79 C1XMetrics.FrameStatesCreated++;
80 C1XMetrics.FrameStateValuesCreated += localsSize + stackSize + locksSize; 80 C1XMetrics.FrameStateValuesCreated += localsSize + stackSize + locksSize;
81 //Exception e = new Exception();
82 //e.printStackTrace();
81 } 83 }
82 84
83 FrameState(int bci, Value[] locals, Value[] stack, int stackSize, ArrayList<Value> locks, Graph graph) { 85 FrameState(int bci, Value[] locals, Value[] stack, int stackSize, ArrayList<Value> locks, Graph graph) {
84 this(bci, locals.length, stackSize, locks.size(), graph); 86 this(bci, locals.length, stackSize, locks.size(), graph);
85 for (int i = 0; i < locals.length; i++) { 87 for (int i = 0; i < locals.length; i++) {