Lines Matching refs:v8
1 // Copyright 2006-2008 the V8 project authors. All rights reserved.
5 #include "v8.h"
13 using namespace v8::internal;
15 static v8::Persistent<v8::Context> env;
18 if (env.IsEmpty()) env = v8::Context::New();
19 v8::HandleScope scope;
108 v8::HandleScope sc;
199 v8::HandleScope sc;
209 v8::HandleScope inner_scope;
263 v8::HandleScope scope;
286 v8::HandleScope scope;
334 static void TestWeakGlobalHandleCallback(v8::Persistent<v8::Value> handle,
539 v8::HandleScope sc;
562 v8::HandleScope sc;
635 v8::HandleScope sc;
659 v8::HandleScope sc;
705 v8::HandleScope sc;
757 v8::HandleScope scope;
805 v8::HandleScope scope;
885 v8::HandleScope scope;
889 v8::HandleScope nested;
911 v8::HandleScope scope;
990 v8::HandleScope scope;
1000 { v8::HandleScope scope;
1047 static int CountOptimizedUserFunctions(v8::Handle<v8::Context> context) {
1049 Handle<Context> icontext = v8::Utils::OpenHandle(*context);
1060 v8::V8::Initialize();
1064 v8::HandleScope scope;
1065 v8::Persistent<v8
1071 ctx[i] = v8::Context::New();
1073 bool opt = (FLAG_always_opt && i::V8::UseCrankshaft());
1081 v8::HandleScope scope;
1173 static int CountOptimizedUserFunctionsWithGC(v8::Handle<v8::Context> context,
1176 Handle<Context> icontext = v8::Utils::OpenHandle(*context);
1190 v8::V8::Initialize();
1194 v8::HandleScope scope;
1195 v8::Persistent<v8::Context> ctx[kNumTestContexts];
1202 ctx[i] = v8::Context::New();
1207 bool opt = (FLAG_always_opt && i::V8::UseCrankshaft());
1294 v8::HandleScope scope;
1296 v8::Handle<Object> a(ISOLATE->context()->global()->GetProperty(
1298 v8::Handle<Object> b(ISOLATE->context()->global()->GetProperty(