Home
last modified time | relevance | path

Searched refs:kTrapRemByZero (Results 1 – 3 of 3) sorted by relevance

/external/v8/test/mjsunit/wasm/
Ddivrem-trap.js90 assertTraps(kTrapRemByZero, "rems(100, 0);");
91 assertTraps(kTrapRemByZero, "rems(-1009, 0);");
93 assertTraps(kTrapRemByZero, "remu(200, 0);");
94 assertTraps(kTrapRemByZero, "remu(-2009, 0);");
Dwasm-constants.js216 var kTrapRemByZero = 4; variable
/external/v8/src/compiler/
Dwasm-compiler.cc76 kTrapRemByZero, enumerator
413 trap_->ZeroCheck32(kTrapRemByZero, right); in Binop()
426 trap_->ZeroCheck32(kTrapRemByZero, right)); in Binop()
514 trap_->ZeroCheck64(kTrapRemByZero, right); in Binop()
527 trap_->ZeroCheck64(kTrapRemByZero, right)); in Binop()