Bug 118278 - [JSC]: Fix maybe-uninitialized gcc 4.8 warning in DFGSpeculativeJIT.cpp
Summary: [JSC]: Fix maybe-uninitialized gcc 4.8 warning in DFGSpeculativeJIT.cpp
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Sergio Correia (qrwteyrutiyoup)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-01 22:00 PDT by Sergio Correia (qrwteyrutiyoup)
Modified: 2013-07-01 23:03 PDT (History)
4 users (show)

See Also:


Attachments
Patch (1.46 KB, patch)
2013-07-01 22:03 PDT, Sergio Correia (qrwteyrutiyoup)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sergio Correia (qrwteyrutiyoup) 2013-07-01 22:00:59 PDT
[JSC]: Fix maybe-uninitialized gcc 4.8 warning in DFGSpeculativeJIT.cpp
Comment 1 Sergio Correia (qrwteyrutiyoup) 2013-07-01 22:03:28 PDT
Created attachment 205862 [details]
Patch
Comment 2 Sergio Correia (qrwteyrutiyoup) 2013-07-01 22:03:54 PDT
Warning:

/home/sergio/projects/webkitnix/Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp: In member function 'void JSC::DFG::SpeculativeJIT::compilePutByValForIntTypedArray(const JSC::TypedArrayDescriptor&, JSC::DFG::GPRReg, JSC::DFG::GPRReg, JSC::DFG::Node*, size_t, JSC::TypedArraySignedness, JSC::TypedArrayRounding)':
/home/sergio/projects/webkitnix/Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp:2682:220: error: 'valueGPR' may be used uninitialized in this function [-Werror=maybe-uninitialized]
Comment 3 WebKit Commit Bot 2013-07-01 23:03:54 PDT
Comment on attachment 205862 [details]
Patch

Clearing flags on attachment: 205862

Committed r152280: <http://trac.webkit.org/changeset/152280>
Comment 4 WebKit Commit Bot 2013-07-01 23:03:56 PDT
All reviewed patches have been landed.  Closing bug.