Home
last modified time | relevance | path

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

/external/v8/test/mjsunit/wasm/
Ddivrem-trap.js71 assertTraps(kTrapDivByZero, "divs(100, 0);");
72 assertTraps(kTrapDivByZero, "divs(-1009, 0);");
74 assertTraps(kTrapDivByZero, "divu(200, 0);");
75 assertTraps(kTrapDivByZero, "divu(-2009, 0);");
Dwasm-constants.js214 var kTrapDivByZero = 2; variable
/external/v8/src/compiler/
Dwasm-compiler.cc74 kTrapDivByZero, enumerator
391 trap_->ZeroCheck32(kTrapDivByZero, right); in Binop()
411 trap_->ZeroCheck32(kTrapDivByZero, right)); in Binop()
491 trap_->ZeroCheck64(kTrapDivByZero, right); in Binop()
512 trap_->ZeroCheck64(kTrapDivByZero, right)); in Binop()