comparison src/share/vm/ci/ciSignature.hpp @ 7194:beebba0acc11

7172640: C2: instrinsic implementations in LibraryCallKit should use argument() instead of pop() Reviewed-by: kvn, jrose
author twisti
date Mon, 26 Nov 2012 17:25:11 -0800
parents b9a9ed0f8eeb
children
comparison
equal deleted inserted replaced
7193:ee32440febeb 7194:beebba0acc11
55 55
56 public: 56 public:
57 ciSymbol* as_symbol() const { return _symbol; } 57 ciSymbol* as_symbol() const { return _symbol; }
58 ciKlass* accessing_klass() const { return _accessing_klass; } 58 ciKlass* accessing_klass() const { return _accessing_klass; }
59 59
60 ciType* return_type() const; 60 ciType* return_type() const;
61 ciType* type_at(int index) const; 61 ciType* type_at(int index) const;
62 62
63 int size() const { return _size; } 63 int size() const { return _size; }
64 int count() const { return _count; } 64 int count() const { return _count; }
65
66 int arg_size_for_bc(Bytecodes::Code bc) { return size() + (Bytecodes::has_receiver(bc) ? 1 : 0); }
65 67
66 bool equals(ciSignature* that); 68 bool equals(ciSignature* that);
67 69
68 void print_signature(); 70 void print_signature();
69 void print(); 71 void print();