Changeset 181334 in webkit
- Timestamp:
- Mar 10, 2015 12:29:13 PM (9 years ago)
- Location:
- trunk/Source
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r181333 r181334 1 2015-03-10 Mark Lam <mark.lam@apple.com> 2 3 [Win] JSC Build Warnings Need to be Resolved. 4 <https://webkit.org/b/142366> 5 6 Reviewed by Brent Fulgham. 7 8 Applied some benign changes to make the MSVC compiler happy. 9 10 * bytecode/CodeBlock.cpp: 11 (JSC::CodeBlock::dumpBytecode): 12 * dfg/DFGSpeculativeJIT32_64.cpp: 13 (JSC::DFG::SpeculativeJIT::fillJSValue): 14 * runtime/BasicBlockLocation.cpp: 15 (JSC::BasicBlockLocation::getExecutedRanges): 16 * runtime/ControlFlowProfiler.cpp: 17 (JSC::ControlFlowProfiler::hasBasicBlockAtTextOffsetBeenExecuted): 18 1 19 2015-03-10 Yusuke Suzuki <utatane.tea@gmail.com> 2 20 -
trunk/Source/JavaScriptCore/bytecode/CodeBlock.cpp
r181213 r181334 608 608 size_t i = 0; 609 609 do { 610 const char* sourceCodeRepresentationDescription ;610 const char* sourceCodeRepresentationDescription = nullptr; 611 611 switch (m_constantsSourceCodeRepresentation[i]) { 612 612 case SourceCodeRepresentation::Double: -
trunk/Source/JavaScriptCore/dfg/DFGSpeculativeJIT32_64.cpp
r181035 r181334 112 112 } 113 113 tagGPR = allocate(); 114 uint32_t tag = JSValue::EmptyValueTag;114 int32_t tag = JSValue::EmptyValueTag; 115 115 DataFormat fillFormat = DataFormatJS; 116 116 switch (info.registerFormat()) { -
trunk/Source/JavaScriptCore/runtime/BasicBlockLocation.cpp
r180518 r181334 55 55 while (gaps.size()) { 56 56 Gap minGap(INT_MAX, 0); 57 unsigned minIdx = -1;57 unsigned minIdx = std::numeric_limits<unsigned>::max(); 58 58 for (unsigned idx = 0; idx < gaps.size(); idx++) { 59 59 // Because we know that the Gaps inside m_gaps aren't enclosed within one another, it suffices to just check the first element to test ordering. -
trunk/Source/JavaScriptCore/runtime/ControlFlowProfiler.cpp
r180518 r181334 105 105 BasicBlockRange bestRange; 106 106 bestRange.m_startOffset = bestRange.m_endOffset = -1; 107 bestRange.m_hasExecuted = false; // Suppress MSVC warning. 107 108 // Because some ranges may overlap because of function boundaries, make sure to find the smallest range enclosing the offset. 108 109 for (BasicBlockRange range : blocks) { -
trunk/Source/WTF/ChangeLog
r181329 r181334 1 2015-03-10 Mark Lam <mark.lam@apple.com> 2 3 [Win] JSC Build Warnings Need to be Resolved. 4 <https://webkit.org/b/142366> 5 6 Reviewed by Brent Fulgham. 7 8 * wtf/Compiler.h: 9 - MSVC also does not have the CONSIDERS_UNREACHABLE_CODE quirk. 10 1 11 2015-03-10 Geoffrey Garen <ggaren@apple.com> 2 12 -
trunk/Source/WTF/wtf/Compiler.h
r178722 r181334 82 82 #endif 83 83 84 #if !COMPILER(CLANG)85 #define WTF_COMPILER_QUIRK_CONSIDERS_UNREACHABLE_CODE 186 #endif87 88 84 #if COMPILER(GCC) && !COMPILER(CLANG) && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L 89 85 #define WTF_COMPILER_SUPPORTS_C_STATIC_ASSERT 1 … … 127 123 #if defined(__SUNPRO_CC) || defined(__SUNPRO_C) 128 124 #define WTF_COMPILER_SUNCC 1 125 #endif 126 127 #if !COMPILER(CLANG) && !COMPILER(MSVC) 128 #define WTF_COMPILER_QUIRK_CONSIDERS_UNREACHABLE_CODE 1 129 129 #endif 130 130
Note: See TracChangeset
for help on using the changeset viewer.