Mercurial > hg > graal-compiler
comparison graal/GraalCompiler/src/com/sun/c1x/gen/LIRGenerator.java @ 2715:3ac3dd97d8df
Added ExceptionEdgeInstruction interface.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Thu, 19 May 2011 13:21:31 +0200 |
parents | 95e2aa413d95 |
children | c1a9bf38da28 |
comparison
equal
deleted
inserted
replaced
2714:e235eb9e7b54 | 2715:3ac3dd97d8df |
---|---|
1435 if (compilation.placeholderState != null) { | 1435 if (compilation.placeholderState != null) { |
1436 state = compilation.placeholderState; | 1436 state = compilation.placeholderState; |
1437 } | 1437 } |
1438 | 1438 |
1439 assert state != null; | 1439 assert state != null; |
1440 return new LIRDebugInfo(state, x.exceptionEdge()); | 1440 return new LIRDebugInfo(state, (x instanceof ExceptionEdgeInstruction) ? ((ExceptionEdgeInstruction) x).exceptionEdge() : null); |
1441 } | 1441 } |
1442 | 1442 |
1443 List<CiValue> visitInvokeArguments(CiCallingConvention cc, Invoke x, List<CiValue> pointerSlots) { | 1443 List<CiValue> visitInvokeArguments(CiCallingConvention cc, Invoke x, List<CiValue> pointerSlots) { |
1444 // for each argument, load it into the correct location | 1444 // for each argument, load it into the correct location |
1445 List<CiValue> argList = new ArrayList<CiValue>(x.argumentCount()); | 1445 List<CiValue> argList = new ArrayList<CiValue>(x.argumentCount()); |