RESOLVED FIXED Bug 170378
WebAssembly: webAssemblyB3OptimizationLevel should use defaultB3OptLevel by default
https://bugs.webkit.org/show_bug.cgi?id=170378
Summary WebAssembly: webAssemblyB3OptimizationLevel should use defaultB3OptLevel by d...
Keith Miller
Reported 2017-03-31 18:48:21 PDT
WebAssembly: webAssemblyB3OptimizationLevel should use defaultB3OptLevel by default
Attachments
Patch (2.92 KB, patch)
2017-03-31 18:48 PDT, Keith Miller
saam: review+
Keith Miller
Comment 1 2017-03-31 18:48:44 PDT
Saam Barati
Comment 2 2017-03-31 18:53:02 PDT
Comment on attachment 306037 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=306037&action=review > Source/JavaScriptCore/wasm/WasmB3IRGenerator.h:51 > +Expected<std::unique_ptr<WasmInternalFunction>, String> parseAndCompile(CompilationContext&, const uint8_t*, size_t, const Signature&, Vector<UnlinkedWasmToWasmCall>&, const ModuleInformation&, const Vector<SignatureIndex>&, MemoryMode, unsigned optLevel); You don't need to make the callers of this function pass in a value?
Keith Miller
Comment 3 2017-03-31 18:54:37 PDT
(In reply to Saam Barati from comment #2) > Comment on attachment 306037 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=306037&action=review > > > Source/JavaScriptCore/wasm/WasmB3IRGenerator.h:51 > > +Expected<std::unique_ptr<WasmInternalFunction>, String> parseAndCompile(CompilationContext&, const uint8_t*, size_t, const Signature&, Vector<UnlinkedWasmToWasmCall>&, const ModuleInformation&, const Vector<SignatureIndex>&, MemoryMode, unsigned optLevel); > > You don't need to make the callers of this function pass in a value? I fixed that when I added the option. the default value is just unused atm.
Keith Miller
Comment 4 2017-03-31 18:54:59 PDT
Note You need to log in before you can comment on or make changes to this bug.