Lines Matching refs:wasm
23 namespace wasm {
36 Handle<Code> CompileWasmFunction(wasm::ErrorThrower& thrower, Isolate* isolate,
37 wasm::ModuleEnv* module_env,
38 const wasm::WasmFunction& function, int index);
41 Handle<Code> CompileWasmToJSWrapper(Isolate* isolate, wasm::ModuleEnv* module,
48 Isolate* isolate, wasm::ModuleEnv* module, Handle<String> name,
56 WasmGraphBuilder(Zone* z, JSGraph* g, wasm::FunctionSig* function_signature);
73 Node* Param(unsigned index, wasm::LocalType type);
77 Node* Phi(wasm::LocalType type, unsigned count, Node** vals, Node* control);
84 Node* Binop(wasm::WasmOpcode opcode, Node* left, Node* right);
85 Node* Unop(wasm::WasmOpcode opcode, Node* input);
104 void BuildJSToWasmWrapper(Handle<Code> wasm_code, wasm::FunctionSig* sig);
106 wasm::FunctionSig* sig);
107 Node* ToJS(Node* node, Node* context, wasm::LocalType type);
108 Node* FromJS(Node* node, Node* context, wasm::LocalType type);
118 Node* LoadMem(wasm::LocalType type, MachineType memtype, Node* index,
127 void set_module(wasm::ModuleEnv* module) { this->module_ = module; } in set_module()
133 wasm::FunctionSig* GetFunctionSignature() { return function_signature_; } in GetFunctionSignature()
141 wasm::ModuleEnv* module_;
152 wasm::FunctionSig* function_signature_;
162 Node* BuildWasmCall(wasm::FunctionSig* sig, Node** args);