Mercurial > hg > graal-compiler
comparison graal/GraalCompiler/src/com/sun/c1x/gen/LIRGenerator.java @ 2632:776e026f2e15
Small cleanup.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Tue, 10 May 2011 17:17:28 +0200 |
parents | c93adece95d2 |
children | 721a45190d6d |
comparison
equal
deleted
inserted
replaced
2631:c4d9b770c377 | 2632:776e026f2e15 |
---|---|
905 CiCallingConvention callingConvention = compilation.frameMap().getCallingConvention(new CiKind[]{CiKind.Object}, RuntimeCall); | 905 CiCallingConvention callingConvention = compilation.frameMap().getCallingConvention(new CiKind[]{CiKind.Object}, RuntimeCall); |
906 CiValue argumentOperand = callingConvention.locations[0]; | 906 CiValue argumentOperand = callingConvention.locations[0]; |
907 lir.move(exceptionOpr, argumentOperand); | 907 lir.move(exceptionOpr, argumentOperand); |
908 | 908 |
909 if (unwind) { | 909 if (unwind) { |
910 lir.unwindException(exceptionPcOpr(), exceptionOpr, info); | 910 lir.unwindException(CiValue.IllegalValue, exceptionOpr, info); |
911 } else { | 911 } else { |
912 lir.throwException(exceptionPcOpr(), argumentOperand, info); | 912 lir.throwException(CiValue.IllegalValue, argumentOperand, info); |
913 } | 913 } |
914 } | 914 } |
915 | 915 |
916 private void blockDoEpilog(BlockBegin block) { | 916 private void blockDoEpilog(BlockBegin block) { |
917 if (C1XOptions.PrintIRWithLIR) { | 917 if (C1XOptions.PrintIRWithLIR) { |
1568 | 1568 |
1569 protected abstract boolean canInlineAsConstant(Value i); | 1569 protected abstract boolean canInlineAsConstant(Value i); |
1570 | 1570 |
1571 protected abstract boolean canStoreAsConstant(Value i, CiKind kind); | 1571 protected abstract boolean canStoreAsConstant(Value i, CiKind kind); |
1572 | 1572 |
1573 protected abstract CiValue exceptionPcOpr(); | |
1574 | |
1575 protected abstract CiValue osrBufferPointer(); | |
1576 | |
1577 protected abstract boolean strengthReduceMultiply(CiValue left, int constant, CiValue result, CiValue tmp); | 1573 protected abstract boolean strengthReduceMultiply(CiValue left, int constant, CiValue result, CiValue tmp); |
1578 | 1574 |
1579 protected abstract CiAddress genAddress(CiValue base, CiValue index, int shift, int disp, CiKind kind); | 1575 protected abstract CiAddress genAddress(CiValue base, CiValue index, int shift, int disp, CiKind kind); |
1580 | 1576 |
1581 protected abstract void genCmpMemInt(Condition condition, CiValue base, int disp, int c, LIRDebugInfo info); | 1577 protected abstract void genCmpMemInt(Condition condition, CiValue base, int disp, int c, LIRDebugInfo info); |