Mercurial > hg > graal-jvmci-8
comparison src/share/vm/c1/c1_GraphBuilder.cpp @ 6006:0105f367a14c
7160570: Intrinsification support for tracing framework
Reviewed-by: sla, never
author | rbackman |
---|---|
date | Tue, 06 Mar 2012 12:36:59 +0100 |
parents | 49036505ab5f |
children | 6759698e3140 |
comparison
equal
deleted
inserted
replaced
6005:c263e0e9f14b | 6006:0105f367a14c |
---|---|
3130 // determine id | 3130 // determine id |
3131 bool preserves_state = false; | 3131 bool preserves_state = false; |
3132 bool cantrap = true; | 3132 bool cantrap = true; |
3133 vmIntrinsics::ID id = callee->intrinsic_id(); | 3133 vmIntrinsics::ID id = callee->intrinsic_id(); |
3134 switch (id) { | 3134 switch (id) { |
3135 case vmIntrinsics::_arraycopy : | 3135 case vmIntrinsics::_arraycopy: |
3136 if (!InlineArrayCopy) return false; | 3136 if (!InlineArrayCopy) return false; |
3137 break; | 3137 break; |
3138 | |
3139 #ifdef TRACE_HAVE_INTRINSICS | |
3140 case vmIntrinsics::_classID: | |
3141 case vmIntrinsics::_threadID: | |
3142 preserves_state = true; | |
3143 cantrap = true; | |
3144 break; | |
3145 | |
3146 case vmIntrinsics::_counterTime: | |
3147 preserves_state = true; | |
3148 cantrap = false; | |
3149 break; | |
3150 #endif | |
3138 | 3151 |
3139 case vmIntrinsics::_currentTimeMillis: | 3152 case vmIntrinsics::_currentTimeMillis: |
3140 case vmIntrinsics::_nanoTime: | 3153 case vmIntrinsics::_nanoTime: |
3141 preserves_state = true; | 3154 preserves_state = true; |
3142 cantrap = false; | 3155 cantrap = false; |