comparison src/share/vm/ci/ciSignature.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 beebba0acc11
children
comparison
equal deleted inserted replaced
7163:2ed8d74e5984 7212:291ffc492eb6
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();