--- a/hotspot/src/share/vm/opto/graphKit.hpp Mon Sep 28 15:05:02 2015 +0200
+++ b/hotspot/src/share/vm/opto/graphKit.hpp Tue Sep 29 11:02:08 2015 +0200
@@ -136,7 +136,7 @@
_bci = jvms->bci();
_method = jvms->has_method() ? jvms->method() : NULL; }
void set_map(SafePointNode* m) { _map = m; debug_only(verify_map()); }
- void set_sp(int sp) { assert(sp >= 0, err_msg_res("sp must be non-negative: %d", sp)); _sp = sp; }
+ void set_sp(int sp) { assert(sp >= 0, "sp must be non-negative: %d", sp); _sp = sp; }
void clean_stack(int from_sp); // clear garbage beyond from_sp to top
void inc_sp(int i) { set_sp(sp() + i); }
@@ -354,12 +354,12 @@
}
Node* zero_check_int(Node* value) {
assert(value->bottom_type()->basic_type() == T_INT,
- err_msg_res("wrong type: %s", type2name(value->bottom_type()->basic_type())));
+ "wrong type: %s", type2name(value->bottom_type()->basic_type()));
return null_check_common(value, T_INT);
}
Node* zero_check_long(Node* value) {
assert(value->bottom_type()->basic_type() == T_LONG,
- err_msg_res("wrong type: %s", type2name(value->bottom_type()->basic_type())));
+ "wrong type: %s", type2name(value->bottom_type()->basic_type()));
return null_check_common(value, T_LONG);
}
// Throw an uncommon trap if a given value is __not__ null.