Mercurial > hg > truffle
comparison src/cpu/ppc/vm/macroAssembler_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 | f6bde7889409 |
children | c5e86c5cd22e |
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 |
3095 "unimplemented", | 3095 "unimplemented", |
3096 "shouldnotreachhere" | 3096 "shouldnotreachhere" |
3097 }; | 3097 }; |
3098 | 3098 |
3099 static void stop_on_request(int tp, const char* msg) { | 3099 static void stop_on_request(int tp, const char* msg) { |
3100 tty->print("PPC assembly code requires stop: (%s) %s\n", (void *)stop_types[tp%/*stop_end*/4], msg); | 3100 tty->print("PPC assembly code requires stop: (%s) %s\n", stop_types[tp%/*stop_end*/4], msg); |
3101 guarantee(false, err_msg("PPC assembly code requires stop: %s", msg)); | 3101 guarantee(false, err_msg("PPC assembly code requires stop: %s", msg)); |
3102 } | 3102 } |
3103 | 3103 |
3104 // Call a C-function that prints output. | 3104 // Call a C-function that prints output. |
3105 void MacroAssembler::stop(int type, const char* msg, int id) { | 3105 void MacroAssembler::stop(int type, const char* msg, int id) { |