Bug 154391 - Fix the !ENABLE(DFG_JIT) build after r195865
Summary: Fix the !ENABLE(DFG_JIT) build after r195865
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Csaba Osztrogonác
URL:
Keywords:
Depends on:
Blocks: 152629
  Show dependency treegraph
 
Reported: 2016-02-18 04:00 PST by Csaba Osztrogonác
Modified: 2016-02-18 08:45 PST (History)
6 users (show)

See Also:


Attachments
Patch (1.33 KB, patch)
2016-02-18 04:01 PST, Csaba Osztrogonác
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Csaba Osztrogonác 2016-02-18 04:00:24 PST
http://trac.webkit.org/changeset/195865 broke the !DFG build:
../../Source/JavaScriptCore/runtime/SamplingProfiler.cpp: In function 'unsigned int JSC::tryGetBytecodeIndex(unsigned int, JSC::CodeBlock*, bool&)':
../../Source/JavaScriptCore/runtime/SamplingProfiler.cpp:299:48: error: 'class JSC::CodeBlock' has no member named 'hasCodeOrigins'

hasCodeOrigins is defined inside ENABLE(DFG_JIT) guard, it shouldn't be used unconditionally.
Comment 1 Csaba Osztrogonác 2016-02-18 04:01:24 PST
Created attachment 271649 [details]
Patch
Comment 2 WebKit Commit Bot 2016-02-18 08:45:24 PST
Comment on attachment 271649 [details]
Patch

Clearing flags on attachment: 271649

Committed r196757: <http://trac.webkit.org/changeset/196757>
Comment 3 WebKit Commit Bot 2016-02-18 08:45:28 PST
All reviewed patches have been landed.  Closing bug.