comparison src/cpu/ppc/vm/methodHandles_ppc.cpp @ 20644:327e7269f90d

8048169: Change 8037816 breaks HS build on PPC64 and CPP-Interpreter platforms Summary: Fix the matching of format string parameter types to the actual argument types for the PPC64 and CPP-Interpreter files in the same way as 8037816 already did it for all the other files Reviewed-by: stefank, coleenp, dholmes
author coleenp
date Mon, 30 Jun 2014 14:58:52 -0400
parents 71a71b0bc844
children
comparison
equal deleted inserted replaced
20642:ec2c6fdd1ce6 20644:327e7269f90d
1 /* 1 /*
2 * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
3 * Copyright 2012, 2014 SAP AG. All rights reserved. 3 * Copyright 2012, 2014 SAP AG. All rights reserved.
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * 5 *
6 * This code is free software; you can redistribute it and/or modify it 6 * This code is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 only, as 7 * under the terms of the GNU General Public License version 2 only, as
462 462
463 bool has_mh = (strstr(adaptername, "/static") == NULL && 463 bool has_mh = (strstr(adaptername, "/static") == NULL &&
464 strstr(adaptername, "linkTo") == NULL); // static linkers don't have MH 464 strstr(adaptername, "linkTo") == NULL); // static linkers don't have MH
465 const char* mh_reg_name = has_mh ? "R23_method_handle" : "G23"; 465 const char* mh_reg_name = has_mh ? "R23_method_handle" : "G23";
466 tty->print_cr("MH %s %s="INTPTR_FORMAT " sp=" INTPTR_FORMAT, 466 tty->print_cr("MH %s %s="INTPTR_FORMAT " sp=" INTPTR_FORMAT,
467 adaptername, mh_reg_name, (intptr_t) mh, entry_sp); 467 adaptername, mh_reg_name, (intptr_t) mh, (intptr_t) entry_sp);
468 468
469 if (Verbose) { 469 if (Verbose) {
470 tty->print_cr("Registers:"); 470 tty->print_cr("Registers:");
471 const int abi_offset = frame::abi_reg_args_size / 8; 471 const int abi_offset = frame::abi_reg_args_size / 8;
472 for (int i = R3->encoding(); i <= R12->encoding(); i++) { 472 for (int i = R3->encoding(); i <= R12->encoding(); i++) {