Home | History | Annotate | Download | only in wasm

Lines Matching defs:code

2 // Use of this source code is governed by a BSD-style license that can be
24 byte code[] = {__VA_ARGS__}; \
25 r.Build(code, code + arraysize(code)); \
174 std::vector<byte> code;
177 ADD_CODE(code, WASM_F64(inputs.arg_d(i)));
180 ADD_CODE(code, kExprCallFunction, static_cast<byte>(num_params),
183 size_t end = code.size();
184 code.push_back(0);
185 t.Build(&code[0], &code[end]);
354 // Build the calling code.
355 std::vector<byte> code;
358 ADD_CODE(code, WASM_GET_LOCAL(i));
361 ADD_CODE(code, kExprCallFunction, static_cast<byte>(num_params), 0);
363 size_t end = code.size();
364 code.push_back(0);
373 t.Build(&code[0], &code[end]);