|
1 | 1 | /*
|
2 |
| - * Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved. |
| 2 | + * Copyright (c) 2000, 2021, Oracle and/or its affiliates. All rights reserved. |
3 | 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
4 | 4 | *
|
5 | 5 | * This code is free software; you can redistribute it and/or modify it
|
@@ -961,7 +961,6 @@ enum LIR_Code {
|
961 | 961 | , lir_static_call
|
962 | 962 | , lir_optvirtual_call
|
963 | 963 | , lir_icvirtual_call
|
964 |
| - , lir_virtual_call |
965 | 964 | , lir_dynamic_call
|
966 | 965 | , end_opJavaCall
|
967 | 966 | , begin_opArrayCopy
|
@@ -1205,11 +1204,6 @@ class LIR_OpJavaCall: public LIR_OpCall {
|
1205 | 1204 | method()->is_method_handle_intrinsic(); // JVM-generated MH intrinsic
|
1206 | 1205 | }
|
1207 | 1206 |
|
1208 |
| - intptr_t vtable_offset() const { |
1209 |
| - assert(_code == lir_virtual_call, "only have vtable for real vcall"); |
1210 |
| - return (intptr_t) addr(); |
1211 |
| - } |
1212 |
| - |
1213 | 1207 | virtual void emit_code(LIR_Assembler* masm);
|
1214 | 1208 | virtual LIR_OpJavaCall* as_OpJavaCall() { return this; }
|
1215 | 1209 | virtual void print_instr(outputStream* out) const PRODUCT_RETURN;
|
@@ -2054,10 +2048,6 @@ class LIR_List: public CompilationResourceObj {
|
2054 | 2048 | address dest, LIR_OprList* arguments, CodeEmitInfo* info) {
|
2055 | 2049 | append(new LIR_OpJavaCall(lir_icvirtual_call, method, receiver, result, dest, arguments, info));
|
2056 | 2050 | }
|
2057 |
| - void call_virtual(ciMethod* method, LIR_Opr receiver, LIR_Opr result, |
2058 |
| - intptr_t vtable_offset, LIR_OprList* arguments, CodeEmitInfo* info) { |
2059 |
| - append(new LIR_OpJavaCall(lir_virtual_call, method, receiver, result, vtable_offset, arguments, info)); |
2060 |
| - } |
2061 | 2051 | void call_dynamic(ciMethod* method, LIR_Opr receiver, LIR_Opr result,
|
2062 | 2052 | address dest, LIR_OprList* arguments, CodeEmitInfo* info) {
|
2063 | 2053 | append(new LIR_OpJavaCall(lir_dynamic_call, method, receiver, result, dest, arguments, info));
|
|
0 commit comments