Changeset 121215 in webkit for trunk/Source/JavaScriptCore/bytecode/CodeBlock.h
- Timestamp:
- Jun 25, 2012, 7:14:07 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/bytecode/CodeBlock.h
r121073 r121215 914 914 } 915 915 916 int32_tllintExecuteCounter() const917 { 918 return m_llintExecuteCounter .m_counter;916 const ExecutionCounter& llintExecuteCounter() const 917 { 918 return m_llintExecuteCounter; 919 919 } 920 920 … … 972 972 static ptrdiff_t offsetOfJITExecutionTotalCount() { return OBJECT_OFFSETOF(CodeBlock, m_jitExecuteCounter) + OBJECT_OFFSETOF(ExecutionCounter, m_totalCount); } 973 973 974 int32_t jitExecuteCounter() const { return m_jitExecuteCounter.m_counter; }974 const ExecutionCounter& jitExecuteCounter() const { return m_jitExecuteCounter; } 975 975 976 976 unsigned optimizationDelayCounter() const { return m_optimizationDelayCounter; } … … 1101 1101 #if ENABLE(VALUE_PROFILER) 1102 1102 bool shouldOptimizeNow(); 1103 void updateAllPredictions(OperationInProgress = NoOperation); 1103 1104 #else 1104 1105 bool shouldOptimizeNow() { return false; } 1106 void updateAllPredictions(OperationInProgress = NoOperation) { } 1105 1107 #endif 1106 1108 … … 1134 1136 #else 1135 1137 void tallyFrequentExitSites() { } 1138 #endif 1139 #if ENABLE(VALUE_PROFILER) 1140 void updateAllPredictionsAndCountLiveness(OperationInProgress, unsigned& numberOfLiveNonArgumentValueProfiles, unsigned& numberOfSamplesInProfiles); 1136 1141 #endif 1137 1142
Note:
See TracChangeset
for help on using the changeset viewer.