Changeset 93466 in webkit for trunk/Source/JavaScriptCore/bytecode/CodeBlock.cpp
- Timestamp:
- Aug 19, 2011, 7:17:49 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/bytecode/CodeBlock.cpp
r93238 r93466 1433 1433 CodeBlock::~CodeBlock() 1434 1434 { 1435 #if ENABLE(VERBOSE_VALUE_PROFILE) 1436 printf("ValueProfile for %p:\n", this); 1437 for (unsigned i = 0; i < numberOfValueProfiles(); ++i) { 1438 ValueProfile* profile = valueProfile(i); 1439 if (profile->bytecodeOffset < 0) { 1440 ASSERT(profile->bytecodeOffset == -1); 1441 printf(" arg = %u: ", i + 1); 1442 } else 1443 printf(" bc = %d: ", profile->bytecodeOffset); 1444 printf("samples = %u, int32 = %u, double = %u, cell = %u\n", 1445 profile->numberOfSamples(), 1446 profile->probabilityOfInt32(), 1447 profile->probabilityOfDouble(), 1448 profile->probabilityOfCell()); 1449 } 1450 #endif 1451 1435 1452 #if ENABLE(JIT) 1436 1453 for (size_t size = m_structureStubInfos.size(), i = 0; i < size; ++i)
Note:
See TracChangeset
for help on using the changeset viewer.