131 void skip_u2(int length, TRAPS); |
131 void skip_u2(int length, TRAPS); |
132 void skip_u2_fast(int length) { |
132 void skip_u2_fast(int length) { |
133 _current += 2 * length; |
133 _current += 2 * length; |
134 } |
134 } |
135 |
135 |
|
136 void skip_u4(int length, TRAPS); |
|
137 void skip_u4_fast(int length) { |
|
138 _current += 4 * length; |
|
139 } |
|
140 |
136 // Tells whether eos is reached |
141 // Tells whether eos is reached |
137 bool at_eos() const { return _current == _buffer_end; } |
142 bool at_eos() const { return _current == _buffer_end; } |
138 }; |
143 }; |
139 |
144 |
140 #endif // SHARE_VM_CLASSFILE_CLASSFILESTREAM_HPP |
145 #endif // SHARE_VM_CLASSFILE_CLASSFILESTREAM_HPP |