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