src/cpu/x86/vm/sharedRuntime_x86_64.cpp

changeset 8997
f8a45a60bc6b
parent 8877
f04097176542
child 9041
95a08233f46c
child 9669
32bc598624bd
equal deleted inserted replaced
8996:2667e5c45e24 8997:f8a45a60bc6b
1 /* 1 /*
2 * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2003, 2017, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
867 Register temp = rbx; 867 Register temp = rbx;
868 868
869 { 869 {
870 __ load_klass(temp, receiver); 870 __ load_klass(temp, receiver);
871 __ cmpptr(temp, Address(holder, CompiledICHolder::holder_klass_offset())); 871 __ cmpptr(temp, Address(holder, CompiledICHolder::holder_klass_offset()));
872 __ movptr(rbx, Address(holder, CompiledICHolder::holder_method_offset())); 872 __ movptr(rbx, Address(holder, CompiledICHolder::holder_metadata_offset()));
873 __ jcc(Assembler::equal, ok); 873 __ jcc(Assembler::equal, ok);
874 __ jump(RuntimeAddress(SharedRuntime::get_ic_miss_stub())); 874 __ jump(RuntimeAddress(SharedRuntime::get_ic_miss_stub()));
875 875
876 __ bind(ok); 876 __ bind(ok);
877 // Method might have been compiled since the call site was patched to 877 // Method might have been compiled since the call site was patched to

mercurial