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(); }");
261 global->Set(v8_str("loop"),
267 // Run a loop that will be infinite if thread termination does not work.
268 static const char* source = "try { loop(); fail(); } catch(e) { fail(); }";
330 CompileRun("try { loop(); fail(); } catch(e) { fail(); }");
503 v8::Local<v8::Function> loop = v8::Local<v8::Function>::Cast(
504 global->Get(CcTest::isolate()->GetCurrentContext(), v8_str("loop"))
507 i::Execution::TryCall(CcTest::i_isolate(), v8::Utils::OpenHandle((*loop)),