Bug 108251

Summary: cloop.rb shouldn't use a method called 'dump' for code generation
Product: WebKit Reporter: Filip Pizlo <fpizlo>
Component: JavaScriptCoreAssignee: Filip Pizlo <fpizlo>
Status: RESOLVED FIXED    
Severity: Normal CC: barraclough, ggaren, mark.lam, mhahnenberg, msaboff, oliver, sam
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
the patch mhahnenberg: review+

Description Filip Pizlo 2013-01-29 16:36:06 PST
That method name is already used, and is intended entirely for debug printing.  It should never be used for code generation.
Comment 1 Filip Pizlo 2013-01-29 16:38:46 PST
Created attachment 185339 [details]
the patch
Comment 2 Mark Lam 2013-01-29 16:44:23 PST
LGTM.  Would feel more sure if you can set ENABLE_LLINT=1 ENABLE_JIT=0 in Platform.h and build to make sure it still builds and runs, but I expect it to be fine.
Comment 3 Mark Hahnenberg 2013-01-29 16:54:21 PST
Comment on attachment 185339 [details]
the patch

r=me
Comment 4 Geoffrey Garen 2013-01-29 16:54:47 PST
> Would feel more sure if you can set ENABLE_LLINT=1 ENABLE_JIT=0 in Platform.h

Actually, I believe this build is currently broken for other reasons :(.
Comment 5 Mark Lam 2013-01-29 16:55:31 PST
(In reply to comment #4)
> > Would feel more sure if you can set ENABLE_LLINT=1 ENABLE_JIT=0 in Platform.h
> 
> Actually, I believe this build is currently broken for other reasons :(.

Sad. =(
Comment 6 Filip Pizlo 2013-01-29 17:00:52 PST
(In reply to comment #5)
> (In reply to comment #4)
> > > Would feel more sure if you can set ENABLE_LLINT=1 ENABLE_JIT=0 in Platform.h
> > 
> > Actually, I believe this build is currently broken for other reasons :(.
> 
> Sad. =(

I fixed the build and tested my change.  It's all good.
Comment 7 Filip Pizlo 2013-01-29 17:01:11 PST
Landed in http://trac.webkit.org/changeset/141185
Comment 8 Mark Lam 2013-01-29 17:01:41 PST
(In reply to comment #6)
> (In reply to comment #5)
> > (In reply to comment #4)
> > > > Would feel more sure if you can set ENABLE_LLINT=1 ENABLE_JIT=0 in Platform.h
> > > 
> > > Actually, I believe this build is currently broken for other reasons :(.
> > 
> > Sad. =(
> 
> I fixed the build and tested my change.  It's all good.

Yay!  Thank you. =)