Changeset 183825 in webkit for trunk/Source/JavaScriptCore/bytecode/CallVariant.cpp
- Timestamp:
- May 5, 2015, 1:42:44 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/bytecode/CallVariant.cpp
r179478 r183825 28 28 29 29 #include "JSCInlines.h" 30 #include <wtf/ListDump.h> 30 31 31 32 namespace JSC { … … 69 70 if (!!variantToAdd) 70 71 result.append(variantToAdd); 72 73 if (!ASSERT_DISABLED) { 74 for (unsigned i = 0; i < result.size(); ++i) { 75 for (unsigned j = i + 1; j < result.size(); ++j) { 76 if (result[i] != result[j]) 77 continue; 78 79 dataLog("variantListWithVariant(", listDump(list), ", ", variantToAdd, ") failed: got duplicates in result: ", listDump(result), "\n"); 80 RELEASE_ASSERT_NOT_REACHED(); 81 } 82 } 83 } 84 71 85 return result; 72 86 }
Note:
See TracChangeset
for help on using the changeset viewer.