Mercurial > hg > graal-compiler
comparison graal/GraalCompiler/src/com/sun/c1x/ir/Invoke.java @ 2543:c58a301eb2d7
Clean up on canTrap.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Wed, 27 Apr 2011 21:22:10 +0200 |
parents | 0f9eeb15e636 |
children | 1c36b17f7ee0 |
comparison
equal
deleted
inserted
replaced
2541:0f9eeb15e636 | 2543:c58a301eb2d7 |
---|---|
103 public Value[] arguments() { | 103 public Value[] arguments() { |
104 return arguments; | 104 return arguments; |
105 } | 105 } |
106 | 106 |
107 /** | 107 /** |
108 * Checks whether this instruction can trap. | |
109 * @return {@code true}, conservatively assuming the called method may throw an exception | |
110 */ | |
111 @Override | |
112 public boolean canTrap() { | |
113 return true; | |
114 } | |
115 | |
116 /** | |
117 * Checks whether this invocation has a receiver object. | 108 * Checks whether this invocation has a receiver object. |
118 * @return {@code true} if this invocation has a receiver object; {@code false} otherwise, if this is a | 109 * @return {@code true} if this invocation has a receiver object; {@code false} otherwise, if this is a |
119 * static call | 110 * static call |
120 */ | 111 */ |
121 public boolean hasReceiver() { | 112 public boolean hasReceiver() { |