Mercurial > hg > graal-compiler
comparison graal/GraalCompiler/src/com/sun/c1x/lir/LIRAssembler.java @ 2833:1cd59ca9ac86
Removed Throw HIR instruction. Removed special handling for exceptions in register allocator.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Tue, 31 May 2011 13:30:23 +0200 |
parents | a2f62de90c76 |
children |
comparison
equal
deleted
inserted
replaced
2832:775c31be565c | 2833:1cd59ca9ac86 |
---|---|
309 case LogicOr: | 309 case LogicOr: |
310 case LogicXor: | 310 case LogicXor: |
311 emitLogicOp(op.code, op.operand1(), op.operand2(), op.result()); | 311 emitLogicOp(op.code, op.operand1(), op.operand2(), op.result()); |
312 break; | 312 break; |
313 | 313 |
314 case Throw: | |
315 emitThrow(op.operand1(), op.operand2(), op.info); | |
316 break; | |
317 | |
318 default: | 314 default: |
319 throw Util.shouldNotReachHere(); | 315 throw Util.shouldNotReachHere(); |
320 } | 316 } |
321 } | 317 } |
322 | 318 |
405 | 401 |
406 protected abstract void emitReadPrefetch(CiValue inOpr); | 402 protected abstract void emitReadPrefetch(CiValue inOpr); |
407 | 403 |
408 protected abstract void emitVolatileMove(CiValue inOpr, CiValue result, CiKind kind, LIRDebugInfo info); | 404 protected abstract void emitVolatileMove(CiValue inOpr, CiValue result, CiKind kind, LIRDebugInfo info); |
409 | 405 |
410 protected abstract void emitThrow(CiValue inOpr1, CiValue inOpr2, LIRDebugInfo info); | |
411 | |
412 protected abstract void emitLogicOp(LIROpcode code, CiValue inOpr1, CiValue inOpr2, CiValue dst); | 406 protected abstract void emitLogicOp(LIROpcode code, CiValue inOpr1, CiValue inOpr2, CiValue dst); |
413 | 407 |
414 protected abstract void emitIntrinsicOp(LIROpcode code, CiValue inOpr1, CiValue inOpr2, CiValue dst, LIROp2 op); | 408 protected abstract void emitIntrinsicOp(LIROpcode code, CiValue inOpr1, CiValue inOpr2, CiValue dst, LIROp2 op); |
415 | 409 |
416 protected abstract void emitArithOp(LIROpcode code, CiValue inOpr1, CiValue inOpr2, CiValue dst, LIRDebugInfo info); | 410 protected abstract void emitArithOp(LIROpcode code, CiValue inOpr1, CiValue inOpr2, CiValue dst, LIRDebugInfo info); |