diff src/share/vm/c1/c1_InstructionPrinter.cpp @ 2166:403dc4c1d7f5

6809483: hotspot:::method_entry are not correctly generated for "method()V" Reviewed-by: iveresov, twisti
author never
date Fri, 21 Jan 2011 13:01:02 -0800
parents f95d63e2154a
children d4c1fbc3de95
line wrap: on
line diff
--- a/src/share/vm/c1/c1_InstructionPrinter.cpp	Thu Dec 30 23:44:45 2010 -0800
+++ b/src/share/vm/c1/c1_InstructionPrinter.cpp	Fri Jan 21 13:01:02 2011 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -841,4 +841,13 @@
 
 }
 
+void InstructionPrinter::do_RuntimeCall(RuntimeCall* x) {
+  output()->print("call_rt %s(", x->entry_name());
+  for (int i = 0; i < x->number_of_arguments(); i++) {
+    if (i > 0) output()->print(", ");
+    print_value(x->argument_at(i));
+  }
+  output()->put(')');
+}
+
 #endif // PRODUCT