comparison src/share/vm/asm/assembler.cpp @ 7430:d02120b7a34f

8004250: replace AbstractAssembler a_byte/a_long with emit_int8/emit_int32 Reviewed-by: jrose, kvn, twisti Contributed-by: Morris Meyer <morris.meyer@oracle.com>
author twisti
date Thu, 20 Dec 2012 18:53:44 -0800
parents 18d56ca3e901
children a5de0cc2f91c
comparison
equal deleted inserted replaced
7429:a46457045d66 7430:d02120b7a34f
106 } 106 }
107 107
108 void AbstractAssembler::flush() { 108 void AbstractAssembler::flush() {
109 ICache::invalidate_range(addr_at(0), offset()); 109 ICache::invalidate_range(addr_at(0), offset());
110 } 110 }
111
112
113 void AbstractAssembler::a_byte(int x) {
114 emit_byte(x);
115 }
116
117
118 void AbstractAssembler::a_long(jint x) {
119 emit_long(x);
120 }
121
122 111
123 void AbstractAssembler::bind(Label& L) { 112 void AbstractAssembler::bind(Label& L) {
124 if (L.is_bound()) { 113 if (L.is_bound()) {
125 // Assembler can bind a label more than once to the same place. 114 // Assembler can bind a label more than once to the same place.
126 guarantee(L.loc() == locator(), "attempt to redefine label"); 115 guarantee(L.loc() == locator(), "attempt to redefine label");