comparison src/share/vm/c1x/c1x_Compiler.hpp @ 1434:72cfb36c6bb2

* enabled all jtt tests * added proxy that counts jni calls * honor hotspot stackshadowpages * constant pool caching * monitor enter/exit * arithmetic stubs (frem, drem, ...) * create stack values for debug info * some doc
author Lukas Stadler <lukas.stadler@oracle.com>
date Thu, 30 Sep 2010 17:19:48 -0700
parents efba53f86c4f
children 9b22e3e5df8e
comparison
equal deleted inserted replaced
1433:efba53f86c4f 1434:72cfb36c6bb2
59 static oop get_RiType(ciType *klass, klassOop accessor, TRAPS); 59 static oop get_RiType(ciType *klass, klassOop accessor, TRAPS);
60 static oop get_RiField(ciField *ciField, klassOop accessor, TRAPS); 60 static oop get_RiField(ciField *ciField, klassOop accessor, TRAPS);
61 61
62 static oop createHotSpotTypeResolved(KlassHandle klass, Handle name, TRAPS); 62 static oop createHotSpotTypeResolved(KlassHandle klass, Handle name, TRAPS);
63 63
64 static BasicType kindToBasicType(jchar ch);
64 }; 65 };
65 66
66 // Tracing macros 67 // Tracing macros
67 68
68 #define IF_TRACE_C1X_1 if (TraceC1X >= 1) 69 #define IF_TRACE_C1X_1 if (!(TraceC1X >= 1)) ; else
69 #define IF_TRACE_C1X_2 if (TraceC1X >= 2) 70 #define IF_TRACE_C1X_2 if (!(TraceC1X >= 2)) ; else
70 #define IF_TRACE_C1X_3 if (TraceC1X >= 3) 71 #define IF_TRACE_C1X_3 if (!(TraceC1X >= 3)) ; else
71 #define IF_TRACE_C1X_4 if (TraceC1X >= 4) 72 #define IF_TRACE_C1X_4 if (!(TraceC1X >= 4)) ; else
72 #define IF_TRACE_C1X_5 if (TraceC1X >= 5) 73 #define IF_TRACE_C1X_5 if (!(TraceC1X >= 5)) ; else
73 74
74 // using commas to keep one-instruction semantics 75 // using commas and else to keep one-instruction semantics
75 #define TRACE_C1X_1 if (TraceC1X >= 1 && (tty->print("TraceC1X-1: "), true)) tty->print_cr 76
76 #define TRACE_C1X_2 if (TraceC1X >= 2 && (tty->print(" TraceC1X-2: "), true)) tty->print_cr 77 #define TRACE_C1X_1 if (!(TraceC1X >= 1 && (tty->print("TraceC1X-1: "), true))) ; else tty->print_cr
77 #define TRACE_C1X_3 if (TraceC1X >= 3 && (tty->print(" TraceC1X-3: "), true)) tty->print_cr 78 #define TRACE_C1X_2 if (!(TraceC1X >= 2 && (tty->print(" TraceC1X-2: "), true))) ; else tty->print_cr
78 #define TRACE_C1X_4 if (TraceC1X >= 4 && (tty->print(" TraceC1X-4: "), true)) tty->print_cr 79 #define TRACE_C1X_3 if (!(TraceC1X >= 3 && (tty->print(" TraceC1X-3: "), true))) ; else tty->print_cr
79 #define TRACE_C1X_5 if (TraceC1X >= 5 && (tty->print(" TraceC1X-5: "), true)) tty->print_cr 80 #define TRACE_C1X_4 if (!(TraceC1X >= 4 && (tty->print(" TraceC1X-4: "), true))) ; else tty->print_cr
81 #define TRACE_C1X_5 if (!(TraceC1X >= 5 && (tty->print(" TraceC1X-5: "), true))) ; else tty->print_cr
80 82
81 83
82 84