Mercurial > hg > graal-compiler
comparison src/share/vm/c1/c1_Instruction.hpp @ 1825:80c9354976b0
6988346: 6986046 breaks tiered
Summary: adjusted profiling code generation to use the new ValueStack implementation; lowered optimization level for c1_LinearScan.cpp on solaris x64.
Reviewed-by: kvn, never
author | iveresov |
---|---|
date | Wed, 29 Sep 2010 16:53:42 -0700 |
parents | ad0638ff8ea4 |
children | 42a10fc37986 |
comparison
equal
deleted
inserted
replaced
1824:ad0638ff8ea4 | 1825:80c9354976b0 |
---|---|
2244 | 2244 |
2245 LEAF(ProfileInvoke, Instruction) | 2245 LEAF(ProfileInvoke, Instruction) |
2246 private: | 2246 private: |
2247 ciMethod* _inlinee; | 2247 ciMethod* _inlinee; |
2248 ValueStack* _state; | 2248 ValueStack* _state; |
2249 int _bci_of_invoke; | 2249 |
2250 | 2250 public: |
2251 public: | 2251 ProfileInvoke(ciMethod* inlinee, ValueStack* state) |
2252 ProfileInvoke(ciMethod* inlinee, ValueStack* state, int bci) | |
2253 : Instruction(voidType) | 2252 : Instruction(voidType) |
2254 , _inlinee(inlinee) | 2253 , _inlinee(inlinee) |
2255 , _bci_of_invoke(bci) | |
2256 , _state(state) | 2254 , _state(state) |
2257 { | 2255 { |
2258 // The ProfileInvoke has side-effects and must occur precisely where located QQQ??? | 2256 // The ProfileInvoke has side-effects and must occur precisely where located QQQ??? |
2259 pin(); | 2257 pin(); |
2260 } | 2258 } |
2261 | 2259 |
2262 ciMethod* inlinee() { return _inlinee; } | 2260 ciMethod* inlinee() { return _inlinee; } |
2263 ValueStack* state() { return _state; } | 2261 ValueStack* state() { return _state; } |
2264 int bci_of_invoke() { return _bci_of_invoke; } | |
2265 virtual void input_values_do(ValueVisitor*) {} | 2262 virtual void input_values_do(ValueVisitor*) {} |
2266 virtual void state_values_do(ValueVisitor*); | 2263 virtual void state_values_do(ValueVisitor*); |
2267 }; | 2264 }; |
2268 | 2265 |
2269 class BlockPair: public CompilationResourceObj { | 2266 class BlockPair: public CompilationResourceObj { |