Mercurial > hg > graal-compiler
comparison graal/com.oracle.graal.hotspot.amd64/src/com/oracle/graal/hotspot/amd64/AMD64HotSpotMove.java @ 14031:390c4b742890
made com.oracle.graal.asm.Buffer non-public and a private field in AbstractAssembler
author | twisti |
---|---|
date | Thu, 27 Feb 2014 11:33:17 -0800 |
parents | 4e679d50ba9a |
children | e14198669e5c |
comparison
equal
deleted
inserted
replaced
14030:f6c04e69cf75 | 14031:390c4b742890 |
---|---|
131 } else { | 131 } else { |
132 assert !asRegister(scratch).equals(heapBaseReg) : "need to restore value otherwise"; | 132 assert !asRegister(scratch).equals(heapBaseReg) : "need to restore value otherwise"; |
133 encodeKlassPointer(masm, asRegister(scratch), heapBaseReg, encoding); | 133 encodeKlassPointer(masm, asRegister(scratch), heapBaseReg, encoding); |
134 } | 134 } |
135 if (state != null) { | 135 if (state != null) { |
136 crb.recordImplicitException(masm.codeBuffer.position(), state); | 136 crb.recordImplicitException(masm.position(), state); |
137 } | 137 } |
138 masm.movl(address.toAddress(), asRegister(scratch)); | 138 masm.movl(address.toAddress(), asRegister(scratch)); |
139 } | 139 } |
140 if (state != null) { | 140 if (state != null) { |
141 crb.recordImplicitException(masm.codeBuffer.position(), state); | 141 crb.recordImplicitException(masm.position(), state); |
142 } | 142 } |
143 masm.movl(address.toAddress(), asRegister(scratch)); | 143 masm.movl(address.toAddress(), asRegister(scratch)); |
144 } | 144 } |
145 } | 145 } |
146 | 146 |