Mercurial > hg > truffle
comparison src/share/vm/runtime/signature.cpp @ 1490:f03d0a26bf83
6888954: argument formatting for assert() and friends
Reviewed-by: kvn, twisti, apetrusenko, never, dcubed
author | jcoomes |
---|---|
date | Thu, 22 Apr 2010 13:23:15 -0700 |
parents | a61af66fc99e |
children | df736661d0c8 |
comparison
equal
deleted
inserted
replaced
1489:cff162798819 | 1490:f03d0a26bf83 |
---|---|
55 _signature = sh; | 55 _signature = sh; |
56 _parameter_index = 0; | 56 _parameter_index = 0; |
57 } | 57 } |
58 | 58 |
59 void SignatureIterator::expect(char c) { | 59 void SignatureIterator::expect(char c) { |
60 if (_signature->byte_at(_index) != c) fatal1("expecting %c", c); | 60 if (_signature->byte_at(_index) != c) fatal(err_msg("expecting %c", c)); |
61 _index++; | 61 _index++; |
62 } | 62 } |
63 | 63 |
64 | 64 |
65 void SignatureIterator::skip_optional_size() { | 65 void SignatureIterator::skip_optional_size() { |