Changeset 90232 in webkit for trunk/Source/JavaScriptCore/ChangeLog
- Timestamp:
- Jul 1, 2011, 9:18:48 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r90215 r90232 1 2011-07-01 David Kilzer <[email protected]> 2 3 <http://webkit.org/b/63814> Fix clang build error in JITOpcodes32_64.cpp 4 5 Fixes the following build error in clang: 6 7 JavaScriptCore/jit/JITOpcodes32_64.cpp:741:36:{741:9-741:35}: error: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Werror,-Wparentheses,3] 8 map(m_bytecodeOffset + dynamic ? OPCODE_LENGTH(op_resolve_global_dynamic) : OPCODE_LENGTH(op_resolve_global), dst, regT1, regT0); 9 ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ 10 JavaScriptCore/jit/JITOpcodes32_64.cpp:741:36: note: place parentheses around the '+' expression to silence this warning [3] 11 map(m_bytecodeOffset + dynamic ? OPCODE_LENGTH(op_resolve_global_dynamic) : OPCODE_LENGTH(op_resolve_global), dst, regT1, regT0); 12 ^ 13 ( ) 14 fix-it:"JavaScriptCore/jit/JITOpcodes32_64.cpp":{741:9-741:9}:"(" 15 fix-it:"JavaScriptCore/jit/JITOpcodes32_64.cpp":{741:35-741:35}:")" 16 JavaScriptCore/jit/JITOpcodes32_64.cpp:741:36:{741:28-741:94}: note: place parentheses around the '?:' expression to evaluate it first [3] 17 map(m_bytecodeOffset + dynamic ? OPCODE_LENGTH(op_resolve_global_dynamic) : OPCODE_LENGTH(op_resolve_global), dst, regT1, regT0); 18 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19 1 error generated. 20 21 * jit/JITOpcodes32_64.cpp: 22 (JSC::JIT::emit_op_resolve_global): Add parenthesis to make the 23 tertiary expression evaluate first. 24 1 25 2011-07-01 Sheriff Bot <[email protected]> 2 26
Note:
See TracChangeset
for help on using the changeset viewer.