Home
last modified time | relevance | path

Searched refs:thrower (Results 1 – 15 of 15) sorted by relevance

/external/v8/test/mjsunit/compiler/
Dosr-infinite.js9 function thrower() { function
11 if (x == 5) %OptimizeOsr(thrower.caller);
15 %NeverOptimizeFunction(thrower); // Don't want to inline the thrower.
26 while (true) thrower();
30 while (true) while (true) thrower();
34 while (true) while (true) while (true) thrower();
38 while (true) while (true) while (true) while (true) thrower();
43 thrower();
52 thrower();
63 thrower();
/external/v8/src/wasm/
Dwasm-js.cc39 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()
[all …]
Dwasm-module.cc244 ErrorThrower thrower(isolate, "WasmModule::Instantiate()"); in Instantiate() local
249 thrower.Error("Out of memory: wasm memory too large"); in Instantiate()
279 thrower.Error("Out of memory: wasm memory"); in Instantiate()
305 thrower.Error("Out of memory: wasm globals"); in Instantiate()
333 if (thrower.error()) break; in Instantiate()
350 thrower.Error("FFI function #%d:%s is not a JSFunction.", index, in Instantiate()
355 thrower.Error("FFI function #%d:%s not found.", index, cstr); in Instantiate()
359 thrower.Error("FFI table is not an object."); in Instantiate()
364 code = compiler::CompileWasmFunction(thrower, isolate, &module_env, func, in Instantiate()
367 thrower.Error("Compilation of #%d:%s failed.", index, cstr); in Instantiate()
[all …]
/external/v8/test/mjsunit/regress/
Dregress-crbug-465298.js9 var foreign = { thrower: thrower, debugme: debugme } property
27 function thrower() { throw "boom"; } function
32 var thrower = foreign.thrower;
43 thrower();
Dregress-2410.js35 var obj = { thrower: 'local' }; property
/external/v8/test/mjsunit/es6/
Dstring-raw.js195 var thrower = {};
197 thrower.toString = function() {
201 callSiteObj.raw = [thrower];
208 String.raw(callSiteObj, thrower);
215 var thrower = {};
217 thrower.toString = null;
218 thrower.valueOf = function() {
222 callSiteObj.raw = [thrower];
229 String.raw(callSiteObj, thrower);
/external/v8/test/mjsunit/
Dstack-traces-2.js33 var thrower = { valueOf: function() { FAIL; }, variable
41 new nativeFunc(thrower);
53 nativeFunc(thrower);
79 testNotOmittedBuiltin(function(){ [thrower, 2].sort(function (a,b) {
Dstack-traces.js226 var thrower = { valueOf: function() { FAIL; }, variable
234 new nativeFunc(thrower);
246 nativeFunc(thrower);
301 testOmittedBuiltin(function(){ [thrower, 2].sort(function (a,b) {
306 testOmittedBuiltin(function(){ thrower + 2; }, "ADD");
Dcross-realm-filtering.js29 function assertNotIn(thrower, error) { argument
/external/clang/test/CodeGenObjC/
Darc-no-arc-exceptions.m8 void thrower(void); function
12 // CHECK: call void @thrower(), !clang.arc.no_objc_arc_exceptions !
18 thrower();
23 // CHECK: call void @thrower(), !clang.arc.no_objc_arc_exceptions !
30 thrower();
/external/v8/test/mjsunit/harmony/
Ddo-expressions.js182 function thrower() { throw new MyError(); } function in TestInParameterInitializers
183 function fn3(exception = do { try { thrower(); } catch (e) { e } }) {
/external/v8/src/compiler/
Dwasm-compiler.h36 Handle<Code> CompileWasmFunction(wasm::ErrorThrower& thrower, Isolate* isolate,
Dwasm-compiler.cc1952 Handle<Code> CompileWasmFunction(wasm::ErrorThrower& thrower, Isolate* isolate, in CompileWasmFunction() argument
1999 thrower.Failed(buffer.start(), result); in CompileWasmFunction()
/external/dexmaker/src/test/java/com/google/dexmaker/
DDexMakerTest.java1313 MethodId<?, ?> thrower = TEST_TYPE.getMethod(TypeId.VOID, "thrower", TypeId.INT); in testCatchExceptions() local
1314 code.invokeStatic(thrower, null, localI); in testCatchExceptions()
1344 public static void thrower(int a) throws Exception { in thrower() method in DexMakerTest
1390 MethodId<?, ?> thrower = TEST_TYPE.getMethod(TypeId.VOID, "thrower", TypeId.INT); in testNestedCatchClauses() local
1391 code.invokeStatic(thrower, null, localA); in testNestedCatchClauses()
1396 code.invokeStatic(thrower, null, localB); in testNestedCatchClauses()
1399 code.invokeStatic(thrower, null, localC); in testNestedCatchClauses()
/external/v8/src/
Dbootstrapper.cc833 Handle<JSFunction> thrower = GetRestrictedFunctionPropertiesThrower(); in AddRestrictedFunctionProperties() local
835 accessors->set_getter(*thrower); in AddRestrictedFunctionProperties()
836 accessors->set_setter(*thrower); in AddRestrictedFunctionProperties()