--- old/src/cpu/aarch64/vm/macroAssembler_aarch64.cpp 2017-06-16 19:46:43.226618204 -0400 +++ new/src/cpu/aarch64/vm/macroAssembler_aarch64.cpp 2017-06-16 19:46:43.098611795 -0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2014, 2015, Red Hat Inc. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * @@ -38,6 +38,7 @@ #include "opto/compile.hpp" #include "opto/intrinsicnode.hpp" #include "opto/node.hpp" +#include "prims/jvm.h" #include "runtime/biasedLocking.hpp" #include "runtime/icache.hpp" #include "runtime/interfaceSupport.hpp" @@ -2011,6 +2012,12 @@ hlt(0); } +void MacroAssembler::unimplemented(const char* what) { + char* b = new char[1024]; + jio_snprintf(b, 1024, "unimplemented: %s", what); + stop(b); +} + // If a constant does not fit in an immediate field, generate some // number of MOV instructions and then perform the operation. void MacroAssembler::wrap_add_sub_imm_insn(Register Rd, Register Rn, unsigned imm,