Skip to content

Commit

Permalink
Don't fail when invalid instructions are analyzed/jitted
Browse files Browse the repository at this point in the history
  • Loading branch information
copy committed Aug 31, 2020
1 parent fdc025f commit 2609041
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion gen/generate_analyzer.js
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,6 @@ function gen_instruction_body(encodings, size)

default_case: {
body: [
"assert(false);",
"analysis.flags |= JIT_INSTR_BLOCK_BOUNDARY_FLAG;",
"analysis.flags |= JIT_INSTR_NO_NEXT_INSTRUCTION_FLAG;",
],
Expand Down
1 change: 0 additions & 1 deletion gen/generate_jit.js
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,6 @@ function gen_instruction_body(encodings, size)

default_case: {
body: [
"assert(false);",
gen_codegen_call("trigger_ud"),
],
}
Expand Down

0 comments on commit 2609041

Please sign in to comment.