Skip to content

Commit

Permalink
wasm: replace sun.reflect.generics.reflectiveObjects.NotImplementedEx…
Browse files Browse the repository at this point in the history
…ception with WasmExecutionException.
  • Loading branch information
woess committed Aug 28, 2020
1 parent a083ec0 commit 1e3355a
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,6 @@
import com.oracle.truffle.api.nodes.Node;
import com.oracle.truffle.api.nodes.RepeatingNode;

import sun.reflect.generics.reflectiveObjects.NotImplementedException;

public final class WasmBlockNode extends WasmNode implements RepeatingNode {

/**
Expand Down Expand Up @@ -2344,7 +2342,7 @@ public int execute(WasmContext context, VirtualFrame frame) {
break;
}
case F32_DEMOTE_F64: {
throw new NotImplementedException();
throw WasmExecutionException.create(this, "not implemented: F32_DEMOTE_F64");
}
case F64_CONVERT_I32_S:
case F64_CONVERT_I32_U: {
Expand All @@ -2367,7 +2365,7 @@ public int execute(WasmContext context, VirtualFrame frame) {
break;
}
case F64_PROMOTE_F32: {
throw new NotImplementedException();
throw WasmExecutionException.create(this, "not implemented: F64_PROMOTE_F32");
}
case I32_REINTERPRET_F32: {
// As we don't store type information for the frame slots (everything is stored
Expand Down

0 comments on commit 1e3355a

Please sign in to comment.