Changeset 209963 in webkit


Ignore:
Timestamp:
Dec 17, 2016 9:14:03 AM (7 years ago)
Author:
sbarati@apple.com
Message:

WebAssembly: Change a RELEASE_ASSERT_NOT_REACHED to a jit.breakpoint() for now to allow us to run some wasm benchmarks
https://bugs.webkit.org/show_bug.cgi?id=165990

Reviewed by Mark Lam.

  • wasm/WasmBinding.cpp:

(JSC::Wasm::importStubGenerator):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r209958 r209963  
     12016-12-17  Saam Barati  <sbarati@apple.com>
     2
     3        WebAssembly: Change a RELEASE_ASSERT_NOT_REACHED to a jit.breakpoint() for now to allow us to run some wasm benchmarks
     4        https://bugs.webkit.org/show_bug.cgi?id=165990
     5
     6        Reviewed by Mark Lam.
     7
     8        * wasm/WasmBinding.cpp:
     9        (JSC::Wasm::importStubGenerator):
     10
    1112016-12-16  Joseph Pecoraro  <pecoraro@apple.com>
    212
  • trunk/Source/JavaScriptCore/wasm/WasmBinding.cpp

    r209764 r209963  
    7979        case Anyfunc:
    8080        case I64:
    81             // For the JavaScript embedding, imports with these types in their signature arguments are a WebAssembly.Module validation error.
    82             RELEASE_ASSERT_NOT_REACHED();
     81            // FIXME: Figure out the correct behavior here. I suspect we want such a stub to throw an exception immediately
     82            // if called. https://bugs.webkit.org/show_bug.cgi?id=165991
     83            jit.breakpoint();
    8384            break;
    8485        case I32: {
Note: See TracChangeset for help on using the changeset viewer.