Mercurial > hg > graal-compiler
comparison src/share/vm/c1/c1_InstructionPrinter.cpp @ 13102:f9f4503a4ab5
Merge
author | Christos Kotselidis <christos.kotselidis@oracle.com> |
---|---|
date | Thu, 21 Nov 2013 15:04:54 +0100 |
parents | ce0cc25bc5e2 |
children | 78bbf4d43a14 |
comparison
equal
deleted
inserted
replaced
13101:790ebab62d23 | 13102:f9f4503a4ab5 |
---|---|
890 print_value(x->recv()); | 890 print_value(x->recv()); |
891 output()->print(" %s.%s", x->method()->holder()->name()->as_utf8(), x->method()->name()->as_utf8()); | 891 output()->print(" %s.%s", x->method()->holder()->name()->as_utf8(), x->method()->name()->as_utf8()); |
892 if (x->known_holder() != NULL) { | 892 if (x->known_holder() != NULL) { |
893 output()->print(", "); | 893 output()->print(", "); |
894 print_klass(x->known_holder()); | 894 print_klass(x->known_holder()); |
895 } | 895 output()->print(" "); |
896 output()->put(')'); | 896 } |
897 } | 897 for (int i = 0; i < x->nb_profiled_args(); i++) { |
898 | 898 if (i > 0) output()->print(", "); |
899 print_value(x->profiled_arg_at(i)); | |
900 if (x->arg_needs_null_check(i)) { | |
901 output()->print(" [NC]"); | |
902 } | |
903 } | |
904 output()->put(')'); | |
905 } | |
906 | |
907 void InstructionPrinter::do_ProfileReturnType(ProfileReturnType* x) { | |
908 output()->print("profile ret type "); | |
909 print_value(x->ret()); | |
910 output()->print(" %s.%s", x->method()->holder()->name()->as_utf8(), x->method()->name()->as_utf8()); | |
911 output()->put(')'); | |
912 } | |
899 void InstructionPrinter::do_ProfileInvoke(ProfileInvoke* x) { | 913 void InstructionPrinter::do_ProfileInvoke(ProfileInvoke* x) { |
900 output()->print("profile_invoke "); | 914 output()->print("profile_invoke "); |
901 output()->print(" %s.%s", x->inlinee()->holder()->name()->as_utf8(), x->inlinee()->name()->as_utf8()); | 915 output()->print(" %s.%s", x->inlinee()->holder()->name()->as_utf8(), x->inlinee()->name()->as_utf8()); |
902 output()->put(')'); | 916 output()->put(')'); |
903 | 917 |