Changeset 171719 in webkit
- Timestamp:
- Jul 28, 2014 7:11:46 PM (10 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r171705 r171719 1 2014-07-28 Tamas Gergely <tgergely.u-szeged@partner.samsung.com> 2 3 BuildFix: JavaScriptCore/bytecode/StructureSet.h:262:77: warning. 4 https://bugs.webkit.org/show_bug.cgi?id=135287 5 6 Reviewed by Darin Adler. 7 8 The set() method tries to use a part of the old value (the reservedFlag bit) which 9 was not defined when the constructor is called. Initialize m_pointer to 0 explicitely. 10 11 * bytecode/StructureSet.h: 12 (JSC::StructureSet::StructureSet): 13 1 14 2014-07-28 Benjamin Poulain <bpoulain@apple.com> 2 15 -
trunk/Source/JavaScriptCore/bytecode/StructureSet.h
r171660 r171719 42 42 public: 43 43 StructureSet() 44 : m_pointer(0) 44 45 { 45 46 setEmpty(); … … 47 48 48 49 StructureSet(Structure* structure) 50 : m_pointer(0) 49 51 { 50 52 set(structure); … … 52 54 53 55 ALWAYS_INLINE StructureSet(const StructureSet& other) 56 : m_pointer(0) 54 57 { 55 58 copyFrom(other);
Note: See TracChangeset
for help on using the changeset viewer.