Ignore:
Timestamp:
Jul 28, 2015, 8:27:23 PM (10 years ago)
Author:
[email protected]
Message:

Unreviewed, rolling out r187531.
https://bugs.webkit.org/show_bug.cgi?id=147397

Broke Windows bild (Requested by smfr on #webkit).

Reverted changeset:

"Implement WebAssembly module parser"
https://bugs.webkit.org/show_bug.cgi?id=147293
http://trac.webkit.org/changeset/187531

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/parser/SourceProvider.h

    r187531 r187538  
    9595    };
    9696   
    97 #if ENABLE(WEBASSEMBLY)
    98     class WebAssemblySourceProvider : public SourceProvider {
    99     public:
    100         static Ref<WebAssemblySourceProvider> create(const Vector<uint8_t>& data, const String& url)
    101         {
    102             return adoptRef(*new WebAssemblySourceProvider(data, url));
    103         }
    104 
    105         virtual const String& source() const override
    106         {
    107             return m_source;
    108         }
    109 
    110         const Vector<uint8_t>& data() const
    111         {
    112             return m_data;
    113         }
    114 
    115     private:
    116         WebAssemblySourceProvider(const Vector<uint8_t>& data, const String& url)
    117             : SourceProvider(url, TextPosition::minimumPosition())
    118             , m_source("[WebAssembly source]")
    119             , m_data(data)
    120         {
    121         }
    122 
    123         String m_source;
    124         Vector<uint8_t> m_data;
    125     };
    126 #endif
    127 
    12897} // namespace JSC
    12998
Note: See TracChangeset for help on using the changeset viewer.