mirror of
https://github.com/corda/corda.git
synced 2025-06-06 09:21:47 +00:00
fix implicit conversion warnings
This commit is contained in:
parent
569c81019c
commit
02c1939de5
@ -2925,7 +2925,7 @@ class JavaCompiler: public Compiler {
|
|||||||
|
|
||||||
mov(poolRegister(), poolReference(class_), rcx);
|
mov(poolRegister(), poolReference(class_), rcx);
|
||||||
mov(rax, 0, rax);
|
mov(rax, 0, rax);
|
||||||
and_(PointerMask, rax);
|
and_(static_cast<int32_t>(PointerMask), rax);
|
||||||
cmp(rcx, rax);
|
cmp(rcx, rax);
|
||||||
je(next);
|
je(next);
|
||||||
|
|
||||||
@ -3638,7 +3638,7 @@ class JavaCompiler: public Compiler {
|
|||||||
|
|
||||||
mov(poolRegister(), poolReference(class_), rcx);
|
mov(poolRegister(), poolReference(class_), rcx);
|
||||||
mov(rax, 0, rax);
|
mov(rax, 0, rax);
|
||||||
and_(PointerMask, rax);
|
and_(static_cast<int32_t>(PointerMask), rax);
|
||||||
cmp(rcx, rax);
|
cmp(rcx, rax);
|
||||||
jne(call);
|
jne(call);
|
||||||
|
|
||||||
@ -3739,7 +3739,7 @@ class JavaCompiler: public Compiler {
|
|||||||
|
|
||||||
mov(rsp, instance, rax); // load instance
|
mov(rsp, instance, rax); // load instance
|
||||||
mov(rax, 0, rax); // load class
|
mov(rax, 0, rax); // load class
|
||||||
and_(PointerMask, rax); // clean pointer
|
and_(static_cast<int32_t>(PointerMask), rax); // clean pointer
|
||||||
mov(rax, ClassVirtualTable, rax); // load vtable
|
mov(rax, ClassVirtualTable, rax); // load vtable
|
||||||
mov(rax, offset, rax); // load method
|
mov(rax, offset, rax); // load method
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user