Home
last modified time | relevance | path

Searched refs:total_locals (Results 1 – 4 of 4) sorted by relevance

/external/v8/src/wasm/
Dast-decoder.h33 uint32_t total_locals; // sum of parameters and all locals member
35 bool IsValidLocal(uint32_t index) { return index < total_locals; } in IsValidLocal()
36 uint32_t GetLocalCount() { return total_locals; } in GetLocalCount()
69 total_locals += count; in AddLocals()
70 DCHECK(total_locals == in AddLocals()
76 total_locals = static_cast<uint32_t>(sig->parameter_count()) + in SumLocals()
Dast-decoder.cc229 DCHECK_EQ(function_env_->total_locals, pos); in InitSsaEnv()
/external/v8/test/cctest/wasm/
Dwasm-run-utils.h252 int result = static_cast<int>(env.total_locals); in AllocateLocal()
365 int result = static_cast<int>(env()->total_locals); in AllocateLocal()
/external/v8/test/unittests/wasm/
Dast-decoder-unittest.cc185 env.total_locals = static_cast<unsigned>(count + sig->parameter_count()); in CreateInt32FunctionEnv()
342 env_i_i.total_locals += 1000000000; in TEST_F()