Changeset 121511 in webkit for trunk/Source/JavaScriptCore/bytecode/ExecutionCounter.cpp
- Timestamp:
- Jun 28, 2012, 7:40:14 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/bytecode/ExecutionCounter.cpp
r121218 r121511 145 145 } 146 146 147 int32_t maxThreshold; 148 if (Options::randomizeExecutionCountsBetweenCheckpoints) 149 maxThreshold = codeBlock->globalObject()->weakRandomInteger() % Options::maximumExecutionCountsBetweenCheckpoints; 150 else 151 maxThreshold = Options::maximumExecutionCountsBetweenCheckpoints; 152 if (threshold > maxThreshold) 153 threshold = maxThreshold; 147 threshold = clippedThreshold(codeBlock->globalObject(), threshold); 154 148 155 149 m_counter = static_cast<int32_t>(-threshold);
Note:
See TracChangeset
for help on using the changeset viewer.