| Summary: | Build warning in source/JavaScriptCore/dfg/DFGFixupPhase.cpp | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Tanay <tanay.c> | ||||||||||
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> | ||||||||||
| Status: | RESOLVED FIXED | ||||||||||||
| Severity: | Normal | CC: | commit-queue, fpizlo, ggaren, tanay.c | ||||||||||
| Priority: | P2 | ||||||||||||
| Version: | 528+ (Nightly build) | ||||||||||||
| Hardware: | Unspecified | ||||||||||||
| OS: | Unspecified | ||||||||||||
| Attachments: |
|
||||||||||||
Created attachment 230889 [details]
Patch for build warning fix
Patch to Fix build warning and coding style warning in DFGFixupPhase.cpp
Comment on attachment 230889 [details]
Patch for build warning fix
Looks like you need to rebase.
(In reply to comment #2) > (From update of attachment 230889 [details]) > Looks like you need to rebase. Rebased to r168352. Can still see the warning. Could you please let me know if I am missing some information? (In reply to comment #3) > (In reply to comment #2) > > (From update of attachment 230889 [details] [details]) > > Looks like you need to rebase. > > Rebased to r168352. Can still see the warning. Could you please let me know if I am missing some information? What I mean is, can you upload a debased patch? Created attachment 230990 [details]
Patch
Comment on attachment 230990 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=230990&action=review > Source/JavaScriptCore/ChangeLog:93 > +>>>>>>> .r168416 You should remove the conflict markets. Created attachment 231046 [details]
Patch
Comment on attachment 231046 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=231046&action=review > Source/JavaScriptCore/dfg/DFGFixupPhase.cpp:1868 > + Node* result = 0; Please use nullptr instead of 0. Created attachment 231130 [details]
Patch
Comment on attachment 231130 [details] Patch Clearing flags on attachment: 231130 Committed r168540: <http://trac.webkit.org/changeset/168540> All reviewed patches have been landed. Closing bug. |
In file included from /home/tanay.c/webkit/Source/JavaScriptCore/dfg/DFGAdjacencyList.h:32:0, from /home/tanay.c/webkit/Source/JavaScriptCore/dfg/DFGNode.h:33, from /home/tanay.c/webkit/Source/JavaScriptCore/dfg/DFGBasicBlock.h:35, from /home/tanay.c/webkit/Source/JavaScriptCore/dfg/DFGGraph.h:34, from /home/tanay.c/webkit/Source/JavaScriptCore/dfg/DFGFixupPhase.cpp:31: /home/tanay.c/webkit/Source/JavaScriptCore/dfg/DFGEdge.h: In member function ‘void JSC::DFG::FixupPhase::injectTypeConversionsForEdge(JSC::DFG::Node*, JSC::DFG::Edge&)’: /home/tanay.c/webkit/Source/JavaScriptCore/dfg/DFGEdge.h:64:22: warning: ‘result’ may be used uninitialized in this function [-Wmaybe-uninitialized] /home/tanay.c/webkit/Source/JavaScriptCore/dfg/DFGFixupPhase.cpp:1898:19: note: ‘result’ was declared here In file included from /home/tanay.c/webkit/Source/JavaScriptCore/dfg/DFGAdjacencyList.h:32:0, from /home/tanay.c/webkit/Source/JavaScriptCore/dfg/DFGNode.h:33, from /home/tanay.c/webkit/Source/JavaScriptCore/dfg/DFGBasicBlock.h:35, from /home/tanay.c/webkit/Source/JavaScriptCore/dfg/DFGGraph.h:34, from /home/tanay.c/webkit/Source/JavaScriptCore/dfg/DFGFixupPhase.cpp:31: /home/tanay.c/webkit/Source/JavaScriptCore/dfg/DFGEdge.h: In member function ‘void JSC::DFG::FixupPhase::injectTypeConversionsInBlock(JSC::DFG::BasicBlock*)’: /home/tanay.c/webkit/Source/JavaScriptCore/dfg/DFGEdge.h:64:22: warning: ‘result’ may be used uninitialized in this function [-Wmaybe-uninitialized] /home/tanay.c/webkit/Source/JavaScriptCore/dfg/DFGFixupPhase.cpp:1898:19: note: ‘result’ was declared here In file included from /home/tanay.c/webkit/Source/JavaScriptCore/dfg/DFGAdjacencyList.h:32:0, from /home/tanay.c/webkit/Source/JavaScriptCore/dfg/DFGNode.h:33, from /home/tanay.c/webkit/Source/JavaScriptCore/dfg/DFGBasicBlock.h:35, from /home/tanay.c/webkit/Source/JavaScriptCore/dfg/DFGGraph.h:34, from /home/tanay.c/webkit/Source/JavaScriptCore/dfg/DFGFixupPhase.cpp:31: /home/tanay.c/webkit/Source/JavaScriptCore/dfg/DFGEdge.h:64:22: warning: ‘result’ may be used uninitialized in this function [-Wmaybe-uninitialized]