Mercurial > hg > truffle
comparison src/share/vm/shark/sharkFunction.hpp @ 7195:2cd5e15048e6
8003868: fix shark for latest HotSpot and LLVM
Reviewed-by: twisti
Contributed-by: Roman Kennke <rkennke@redhat.com>
author | twisti |
---|---|
date | Tue, 27 Nov 2012 12:48:52 -0800 |
parents | f95d63e2154a |
children |
comparison
equal
deleted
inserted
replaced
7194:beebba0acc11 | 7195:2cd5e15048e6 |
---|---|
89 // On-stack replacement | 89 // On-stack replacement |
90 private: | 90 private: |
91 bool is_osr() const { | 91 bool is_osr() const { |
92 return flow()->is_osr_flow(); | 92 return flow()->is_osr_flow(); |
93 } | 93 } |
94 const llvm::FunctionType* entry_point_type() const { | 94 llvm::FunctionType* entry_point_type() const { |
95 if (is_osr()) | 95 if (is_osr()) |
96 return SharkType::osr_entry_point_type(); | 96 return SharkType::osr_entry_point_type(); |
97 else | 97 else |
98 return SharkType::entry_point_type(); | 98 return SharkType::entry_point_type(); |
99 } | 99 } |