• Home
  • Raw
  • Download

Lines Matching refs:thrower

39     ErrorThrower& thrower, const v8::FunctionCallbackInfo<v8::Value>& args) {  in GetRawBufferArgument()  argument
41 thrower.Error("Argument 0 must be an array buffer"); in GetRawBufferArgument()
53 thrower.Error("ArrayBuffer argument is empty"); in GetRawBufferArgument()
62 ErrorThrower thrower(isolate, "WASM.verifyModule()"); in VerifyModule() local
64 RawBuffer buffer = GetRawBufferArgument(thrower, args); in VerifyModule()
65 if (thrower.error()) return; in VerifyModule()
72 thrower.Failed("", result); in VerifyModule()
82 ErrorThrower thrower(isolate, "WASM.verifyFunction()"); in VerifyFunction() local
84 RawBuffer buffer = GetRawBufferArgument(thrower, args); in VerifyFunction()
85 if (thrower.error()) return; in VerifyFunction()
97 thrower.Failed("", result); in VerifyFunction()
107 ErrorThrower thrower(isolate, "WASM.compileRun()"); in CompileRun() local
109 RawBuffer buffer = GetRawBufferArgument(thrower, args); in CompileRun()
110 if (thrower.error()) return; in CompileRun()
118 thrower.Failed("", result); in CompileRun()
158 ErrorThrower thrower(isolate, "WASM.asmCompileRun()"); in AsmCompileRun() local
161 thrower.Error("Invalid argument count"); in AsmCompileRun()
165 thrower.Error("Invalid argument count"); in AsmCompileRun()
177 thrower.Error("Asm.js validation failed"); in AsmCompileRun()
191 ErrorThrower thrower(isolate, "WASM.instantiateModuleFromAsm()"); in InstantiateModuleFromAsm() local
194 thrower.Error("Invalid argument count"); in InstantiateModuleFromAsm()
198 thrower.Error("Invalid argument count"); in InstantiateModuleFromAsm()
210 thrower.Error("Asm.js validation failed"); in InstantiateModuleFromAsm()
219 thrower.Failed("", result); in InstantiateModuleFromAsm()
239 ErrorThrower thrower(isolate, "WASM.instantiateModule()"); in InstantiateModule() local
241 RawBuffer buffer = GetRawBufferArgument(thrower, args); in InstantiateModule()
258 thrower.Failed("", result); in InstantiateModule()