Mercurial > hg > truffle
comparison src/cpu/x86/vm/templateTable_x86_64.cpp @ 6831:d8ce2825b193
8000213: NPG: Should have renamed arrayKlass and typeArrayKlass
Summary: Capitalize these metadata types (and objArrayKlass)
Reviewed-by: stefank, twisti, kvn
author | coleenp |
---|---|
date | Sat, 29 Sep 2012 06:40:00 -0400 |
parents | 75f33eecc1b3 |
children | 6e5a59a8e4a7 |
comparison
equal
deleted
inserted
replaced
6811:1b582b1bf7cb | 6831:d8ce2825b193 |
---|---|
968 // Move subklass into rbx | 968 // Move subklass into rbx |
969 __ load_klass(rbx, rax); | 969 __ load_klass(rbx, rax); |
970 // Move superklass into rax | 970 // Move superklass into rax |
971 __ load_klass(rax, rdx); | 971 __ load_klass(rax, rdx); |
972 __ movptr(rax, Address(rax, | 972 __ movptr(rax, Address(rax, |
973 objArrayKlass::element_klass_offset())); | 973 ObjArrayKlass::element_klass_offset())); |
974 // Compress array + index*oopSize + 12 into a single register. Frees rcx. | 974 // Compress array + index*oopSize + 12 into a single register. Frees rcx. |
975 __ lea(rdx, element_address); | 975 __ lea(rdx, element_address); |
976 | 976 |
977 // Generate subtype check. Blows rcx, rdi | 977 // Generate subtype check. Blows rcx, rdi |
978 // Superklass in rax. Subklass in rbx. | 978 // Superklass in rax. Subklass in rbx. |