Current interpreter did not handle overflow
|
fn eval_binary(&mut self, inst: &ValueData, bin: &Binary) { |
, what's the semantics defined by sysy? Since it's a subset of C, should it also be a undefined behavior?
What's the best handling strategy in interpreter then?
Current interpreter did not handle overflow
koopa/koopa/examples/interpreter/interpreter.rs
Line 301 in 5167940
What's the best handling strategy in interpreter then?