Lines Matching refs:loop
53 void Loop(const v8::FunctionCallbackInfo<v8::Value>& args) {
116 global->Set(v8_str("loop"), v8::FunctionTemplate::New(isolate, Loop));
132 // Run a loop that will be infinite if thread termination does not work.
135 "try { loop(); fail(); } catch(e) { fail(); }");
140 "try { loop(); fail(); } catch(e) { fail(); }");
146 // itself in a loop that performs no calls.
155 // Run a loop that will be infinite if thread termination does not work.
156 static const char* source = "try { loop(); fail(); } catch(e) { fail(); }";
197 // Run a loop that will be infinite if thread termination does not work.
200 "try { loop(); fail(); } catch(e) { fail(); }");
286 global->Set(v8_str("loop"),
292 // Run a loop that will be infinite if thread termination does not work.
293 static const char* source = "try { loop(); fail(); } catch(e) { fail(); }";
355 CompileRun("try { loop(); fail(); } catch(e) { fail(); }");
528 v8::Local<v8::Function> loop = v8::Local<v8::Function>::Cast(
529 global->Get(CcTest::isolate()->GetCurrentContext(), v8_str("loop"))
532 i::Execution::TryCall(CcTest::i_isolate(), v8::Utils::OpenHandle((*loop)),