comparison src/share/vm/shark/llvmValue.hpp @ 7212:291ffc492eb6

Merge with http://hg.openjdk.java.net/hsx/hsx25/hotspot/
author Doug Simon <doug.simon@oracle.com>
date Fri, 14 Dec 2012 14:35:13 +0100
parents 2cd5e15048e6
children
comparison
equal deleted inserted replaced
7163:2ed8d74e5984 7212:291ffc492eb6
54 } 54 }
55 static llvm::ConstantPointerNull* null() 55 static llvm::ConstantPointerNull* null()
56 { 56 {
57 return llvm::ConstantPointerNull::get(SharkType::oop_type()); 57 return llvm::ConstantPointerNull::get(SharkType::oop_type());
58 } 58 }
59 static llvm::ConstantPointerNull* nullKlass()
60 {
61 return llvm::ConstantPointerNull::get(SharkType::klass_type());
62 }
59 63
60 public: 64 public:
61 static llvm::ConstantInt* bit_constant(int value) 65 static llvm::ConstantInt* bit_constant(int value)
62 { 66 {
63 return llvm::ConstantInt::get(SharkType::bit_type(), value, false); 67 return llvm::ConstantInt::get(SharkType::bit_type(), value, false);