mirror of
https://github.com/corda/corda.git
synced 2025-01-19 03:06:36 +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(rax, 0, rax);
|
||||
and_(PointerMask, rax);
|
||||
and_(static_cast<int32_t>(PointerMask), rax);
|
||||
cmp(rcx, rax);
|
||||
je(next);
|
||||
|
||||
@ -3638,7 +3638,7 @@ class JavaCompiler: public Compiler {
|
||||
|
||||
mov(poolRegister(), poolReference(class_), rcx);
|
||||
mov(rax, 0, rax);
|
||||
and_(PointerMask, rax);
|
||||
and_(static_cast<int32_t>(PointerMask), rax);
|
||||
cmp(rcx, rax);
|
||||
jne(call);
|
||||
|
||||
@ -3739,7 +3739,7 @@ class JavaCompiler: public Compiler {
|
||||
|
||||
mov(rsp, instance, rax); // load instance
|
||||
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, offset, rax); // load method
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user