• Home
  • Raw
  • Download

Lines Matching refs:v8

54 static v8::Local<v8::Function> GetFunction(v8::Local<v8::Context> env,  in GetFunction()
56 return v8::Local<v8::Function>::Cast( in GetFunction()
75 v8::base::TimeDelta::FromMicroseconds(100))); in TEST()
135 v8::Utils::OpenHandle(*GetFunction(env->local(), name_start))); in CreateCode()
159 generator, nullptr, v8::base::TimeDelta::FromMicroseconds(100)); in TEST()
227 generator, nullptr, v8::base::TimeDelta::FromMicroseconds(100)); in TEST()
299 generator, nullptr, v8::base::TimeDelta::FromMicroseconds(100)); in TEST()
364 static bool FindCpuProfile(v8::CpuProfiler* v8profiler, in FindCpuProfile()
365 const v8::CpuProfile* v8profile) { in FindCpuProfile()
380 v8::HandleScope scope(env->GetIsolate()); in TEST()
381 v8::CpuProfiler* cpu_profiler = env->GetIsolate()->GetCpuProfiler(); in TEST()
385 v8::Local<v8::String> name1 = v8_str("1"); in TEST()
387 v8::CpuProfile* p1 = cpu_profiler->StopProfiling(name1); in TEST()
394 v8::Local<v8::String> name2 = v8_str("2"); in TEST()
396 v8::CpuProfile* p2 = cpu_profiler->StopProfiling(name2); in TEST()
400 v8::Local<v8::String> name3 = v8_str("3"); in TEST()
402 v8::CpuProfile* p3 = cpu_profiler->StopProfiling(name3); in TEST()
419 v8::HandleScope scope(env->GetIsolate()); in TEST()
420 v8::CpuProfiler* cpu_profiler = env->GetIsolate()->GetCpuProfiler(); in TEST()
422 v8::Local<v8::String> profile_name = v8_str("test"); in TEST()
424 const v8::CpuProfile* profile = cpu_profiler->StopProfiling(profile_name); in TEST()
428 static v8::CpuProfile* RunProfiler(v8::Local<v8::Context> env, in RunProfiler()
429 v8::Local<v8::Function> function, in RunProfiler()
430 v8::Local<v8::Value> argv[], int argc, in RunProfiler()
434 v8::CpuProfiler* cpu_profiler = env->GetIsolate()->GetCpuProfiler(); in RunProfiler()
435 v8::Local<v8::String> profile_name = v8_str("my_profile"); in RunProfiler()
440 v8::sampler::Sampler* sampler = in RunProfiler()
448 v8::CpuProfile* profile = cpu_profiler->StopProfiling(profile_name); in RunProfiler()
458 static const v8::CpuProfileNode* FindChild(v8::Local<v8::Context> context, in FindChild()
459 const v8::CpuProfileNode* node, in FindChild()
462 v8::Local<v8::String> name_handle = v8_str(name); in FindChild()
464 const v8::CpuProfileNode* child = node->GetChild(i); in FindChild()
473 static const v8::CpuProfileNode* GetChild(v8::Local<v8::Context> context, in GetChild()
474 const v8::CpuProfileNode* node, in GetChild()
476 const v8::CpuProfileNode* result = FindChild(context, node, name); in GetChild()
486 static void CheckSimpleBranch(v8::Local<v8::Context> context, in CheckSimpleBranch()
487 const v8::CpuProfileNode* node, in CheckSimpleBranch()
496 static const ProfileNode* GetSimpleBranch(v8::Local<v8::Context> context, in GetSimpleBranch()
497 v8::CpuProfile* profile, in GetSimpleBranch()
499 const v8::CpuProfileNode* node = profile->GetTopDownRoot(); in GetSimpleBranch()
506 static void CallCollectSample(const v8::FunctionCallbackInfo<v8::Value>& info) { in CallCollectSample()
564 v8::HandleScope scope(env->GetIsolate()); in TEST()
567 v8::Local<v8::Function> function = GetFunction(env.local(), "start"); in TEST()
570 v8::Local<v8::Value> args[] = { in TEST()
571 v8::Integer::New(env->GetIsolate(), profiling_interval_ms)}; in TEST()
572 v8::CpuProfile* profile = in TEST()
575 const v8::CpuProfileNode* root = profile->GetTopDownRoot(); in TEST()
576 const v8::CpuProfileNode* start_node = GetChild(env.local(), root, "start"); in TEST()
577 const v8::CpuProfileNode* foo_node = GetChild(env.local(), start_node, "foo"); in TEST()
621 v8::HandleScope scope(env->GetIsolate()); in TEST()
624 v8::Local<v8::Function> function = GetFunction(env.local(), "start"); in TEST()
627 v8::Local<v8::Value> args[] = { in TEST()
628 v8::Integer::New(env->GetIsolate(), profiling_interval_ms)}; in TEST()
629 v8::CpuProfile* profile = in TEST()
634 const v8::CpuProfileNode* root = profile->GetTopDownRoot(); in TEST()
635 const v8::CpuProfileNode* start_node = GetChild(env.local(), root, "start"); in TEST()
644 v8::HandleScope scope(env->GetIsolate()); in TEST()
647 v8::Local<v8::Function> function = GetFunction(env.local(), "start"); in TEST()
650 v8::Local<v8::Value> args[] = { in TEST()
651 v8::Integer::New(env->GetIsolate(), profiling_interval_ms)}; in TEST()
652 v8::CpuProfile* profile = in TEST()
697 v8::HandleScope scope(env->GetIsolate()); in TEST()
700 v8::Local<v8::Function> function = GetFunction(env.local(), "start"); in TEST()
703 v8::Local<v8::Value> args[] = { in TEST()
704 v8::Integer::New(env->GetIsolate(), duration_ms)}; in TEST()
705 v8::CpuProfile* profile = in TEST()
708 const v8::CpuProfileNode* root = profile->GetTopDownRoot(); in TEST()
709 const v8::CpuProfileNode* start_node = GetChild(env.local(), root, "start"); in TEST()
710 const v8::CpuProfileNode* delay_node = in TEST()
730 static void Getter(v8::Local<v8::String> name, in Getter()
731 const v8::PropertyCallbackInfo<v8::Value>& info) { in Getter()
736 static void Setter(v8::Local<v8::String> name, in Setter()
737 v8::Local<v8::Value> value, in Setter()
738 const v8::PropertyCallbackInfo<void>& info) { in Setter()
743 static void Callback(const v8::FunctionCallbackInfo<v8::Value>& info) { in Callback()
753 double start = v8::base::OS::TimeCurrentMillis(); in Wait()
756 v8::base::OS::Sleep(v8::base::TimeDelta::FromMilliseconds(1)); in Wait()
757 duration = v8::base::OS::TimeCurrentMillis() - start; in Wait()
763 void* data = v8::External::Cast(*info.Data())->Value(); in FromInfo()
778 v8::Isolate* isolate = env->GetIsolate(); in TEST()
779 v8::HandleScope scope(isolate); in TEST()
781 v8::Local<v8::FunctionTemplate> func_template = in TEST()
782 v8::FunctionTemplate::New(isolate); in TEST()
783 v8::Local<v8::ObjectTemplate> instance_template = in TEST()
787 v8::Local<v8::External> data = in TEST()
788 v8::External::New(isolate, &accessors); in TEST()
791 v8::Local<v8::Function> func = in TEST()
793 v8::Local<v8::Object> instance = in TEST()
798 v8::Local<v8::Function> function = GetFunction(env.local(), "start"); in TEST()
801 v8::Local<v8::Value> args[] = {v8::Integer::New(isolate, repeat_count)}; in TEST()
802 v8::CpuProfile* profile = in TEST()
805 const v8::CpuProfileNode* root = profile->GetTopDownRoot(); in TEST()
806 const v8::CpuProfileNode* start_node = GetChild(env.local(), root, "start"); in TEST()
819 v8::Isolate* isolate = env->GetIsolate(); in TEST()
820 v8::HandleScope scope(isolate); in TEST()
822 v8::Local<v8::FunctionTemplate> func_template = in TEST()
823 v8::FunctionTemplate::New(isolate); in TEST()
824 v8::Local<v8::ObjectTemplate> instance_template = in TEST()
828 v8::Local<v8::External> data = in TEST()
829 v8::External::New(isolate, &accessors); in TEST()
832 v8::Local<v8::Function> func = in TEST()
834 v8::Local<v8::Object> instance = in TEST()
839 v8::Local<v8::Function> function = GetFunction(env.local(), "start"); in TEST()
846 v8::Local<v8::Value> args[] = { in TEST()
847 v8::Integer::New(isolate, warm_up_iterations)}; in TEST()
854 v8::Local<v8::Value> args[] = {v8::Integer::New(isolate, repeat_count)}; in TEST()
855 v8::CpuProfile* profile = in TEST()
858 const v8::CpuProfileNode* root = profile->GetTopDownRoot(); in TEST()
859 const v8::CpuProfileNode* start_node = GetChild(env.local(), root, "start"); in TEST()
876 v8::Isolate* isolate = env->GetIsolate(); in TEST()
877 v8::HandleScope scope(isolate); in TEST()
880 v8::Local<v8::External> data = in TEST()
881 v8::External::New(isolate, &callbacks); in TEST()
883 v8::Local<v8::FunctionTemplate> func_template = in TEST()
884 v8::FunctionTemplate::New(isolate); in TEST()
886 v8::Local<v8::ObjectTemplate> proto_template = in TEST()
888 v8::Local<v8::Signature> signature = in TEST()
889 v8::Signature::New(isolate, func_template); in TEST()
892 v8::FunctionTemplate::New(isolate, &TestApiCallbacks::Callback, data, in TEST()
895 v8::Local<v8::Function> func = in TEST()
897 v8::Local<v8::Object> instance = in TEST()
902 v8::Local<v8::Function> function = GetFunction(env.local(), "start"); in TEST()
905 v8::Local<v8::Value> args[] = {v8::Integer::New(isolate, repeat_count)}; in TEST()
906 v8::CpuProfile* profile = in TEST()
909 const v8::CpuProfileNode* root = profile->GetTopDownRoot(); in TEST()
910 const v8::CpuProfileNode* start_node = GetChild(env.local(), root, "start"); in TEST()
919 v8::Isolate* isolate = env->GetIsolate(); in TEST()
920 v8::HandleScope scope(isolate); in TEST()
923 v8::Local<v8::External> data = in TEST()
924 v8::External::New(isolate, &callbacks); in TEST()
926 v8::Local<v8::FunctionTemplate> func_template = in TEST()
927 v8::FunctionTemplate::New(isolate); in TEST()
929 v8::Local<v8::ObjectTemplate> proto_template = in TEST()
931 v8::Local<v8::Signature> signature = in TEST()
932 v8::Signature::New(isolate, func_template); in TEST()
935 v8::FunctionTemplate::New(isolate, &TestApiCallbacks::Callback, data, in TEST()
938 v8::Local<v8::Function> func = in TEST()
940 v8::Local<v8::Object> instance = in TEST()
945 v8::Local<v8::Function> function = GetFunction(env.local(), "start"); in TEST()
951 v8::Local<v8::Value> args[] = { in TEST()
952 v8::Integer::New(isolate, warm_up_iterations)}; in TEST()
959 v8::Local<v8::Value> args[] = {v8::Integer::New(isolate, repeat_count)}; in TEST()
960 v8::CpuProfile* profile = in TEST()
963 const v8::CpuProfileNode* root = profile->GetTopDownRoot(); in TEST()
965 const v8::CpuProfileNode* start_node = GetChild(env.local(), root, "start"); in TEST()
983 v8::HandleScope scope(CcTest::isolate()); in TEST()
984 v8::Local<v8::Context> env = CcTest::NewContext(PROFILER_EXTENSION); in TEST()
985 v8::Context::Scope context_scope(env); in TEST()
988 v8::Local<v8::Function> function = GetFunction(env, "start"); in TEST()
990 v8::CpuProfile* profile = RunProfiler(env, function, NULL, 0); in TEST()
992 const v8::CpuProfileNode* root = profile->GetTopDownRoot(); in TEST()
994 const v8::CpuProfileNode* start_node = GetChild(env, root, "start"); in TEST()
1031 v8::Utils::OpenHandle(*GetFunction(env.local(), func_name))); in TickLines()
1042 generator, nullptr, v8::base::TimeDelta::FromMicroseconds(100)); in TickLines()
1089 ScopedVector<v8::CpuProfileNode::LineTick> entries(line_count); in TickLines()
1135 v8::HandleScope scope(env->GetIsolate()); in TEST()
1142 v8::Local<v8::Function> function = GetFunction(env.local(), "start"); in TEST()
1145 v8::Local<v8::Value> args[] = { in TEST()
1146 v8::Integer::New(env->GetIsolate(), duration_ms)}; in TEST()
1147 v8::CpuProfile* profile = in TEST()
1150 const v8::CpuProfileNode* root = profile->GetTopDownRoot(); in TEST()
1151 const v8::CpuProfileNode* start_node = GetChild(env.local(), root, "start"); in TEST()
1154 const v8::CpuProfileNode* unresolved_node = in TEST()
1192 v8::HandleScope scope(env->GetIsolate()); in TEST()
1195 v8::Local<v8::Function> function = GetFunction(env.local(), "start"); in TEST()
1198 v8::Local<v8::Value> args[] = { in TEST()
1199 v8::Integer::New(env->GetIsolate(), duration_ms)}; in TEST()
1201 v8::CpuProfile* profile = in TEST()
1204 const v8::CpuProfileNode* root = profile->GetTopDownRoot(); in TEST()
1205 const v8::CpuProfileNode* start_node = GetChild(env.local(), root, "start"); in TEST()
1206 const v8::CpuProfileNode* test_node = in TEST()
1210 const v8::CpuProfileNode* unresolved_node = in TEST()
1240 v8::HandleScope scope(CcTest::isolate()); in TEST()
1241 v8::Local<v8::Context> env = CcTest::NewContext(PROFILER_EXTENSION); in TEST()
1242 v8::Context::Scope context_scope(env); in TEST()
1245 v8::Local<v8::Function> function = GetFunction(env, "start"); in TEST()
1247 v8::CpuProfiler* cpu_profiler = env->GetIsolate()->GetCpuProfiler(); in TEST()
1248 v8::Local<v8::String> profile_name = v8_str("my_profile"); in TEST()
1250 v8::CpuProfile* profile = cpu_profiler->StopProfiling(profile_name); in TEST()
1255 const v8::CpuProfileNode* root = profile->GetTopDownRoot(); in TEST()
1256 const v8::CpuProfileNode* node = GetChild(env, root, "start"); in TEST()
1281 static void CallJsFunction(const v8::FunctionCallbackInfo<v8::Value>& info) { in CallJsFunction()
1282 v8::Local<v8::Function> function = info[0].As<v8::Function>(); in CallJsFunction()
1283 v8::Local<v8::Value> argv[] = {info[1]}; in CallJsFunction()
1298 v8::HandleScope scope(CcTest::isolate()); in TEST()
1299 v8::Local<v8::Context> env = CcTest::NewContext(PROFILER_EXTENSION); in TEST()
1300 v8::Context::Scope context_scope(env); in TEST()
1302 v8::Local<v8::FunctionTemplate> func_template = v8::FunctionTemplate::New( in TEST()
1304 v8::Local<v8::Function> func = in TEST()
1310 v8::Local<v8::Function> function = GetFunction(env, "start"); in TEST()
1312 v8::CpuProfile* profile = RunProfiler(env, function, NULL, 0, 1000); in TEST()
1314 const v8::CpuProfileNode* root = profile->GetTopDownRoot(); in TEST()
1315 const v8::CpuProfileNode* start_node = GetChild(env, root, "start"); in TEST()
1316 const v8::CpuProfileNode* native_node = in TEST()
1318 const v8::CpuProfileNode* bar_node = GetChild(env, native_node, "bar"); in TEST()
1350 v8::HandleScope scope(CcTest::isolate()); in TEST()
1351 v8::Local<v8::Context> env = CcTest::NewContext(PROFILER_EXTENSION); in TEST()
1352 v8::Context::Scope context_scope(env); in TEST()
1354 v8::Local<v8::FunctionTemplate> func_template = v8::FunctionTemplate::New( in TEST()
1356 v8::Local<v8::Function> func = in TEST()
1362 v8::Local<v8::Function> function = GetFunction(env, "start"); in TEST()
1363 v8::CpuProfile* profile = RunProfiler(env, function, NULL, 0, 1000); in TEST()
1365 const v8::CpuProfileNode* root = profile->GetTopDownRoot(); in TEST()
1366 const v8::CpuProfileNode* start_node = GetChild(env, root, "start"); in TEST()
1367 const v8::CpuProfileNode* native_node = in TEST()
1369 const v8::CpuProfileNode* bar_node = GetChild(env, native_node, "bar"); in TEST()
1375 static void CallJsFunction2(const v8::FunctionCallbackInfo<v8::Value>& info) { in CallJsFunction2()
1376 v8::base::OS::Print("In CallJsFunction2\n"); in CallJsFunction2()
1406 v8::HandleScope scope(CcTest::isolate()); in TEST()
1407 v8::Local<v8::Context> env = CcTest::NewContext(PROFILER_EXTENSION); in TEST()
1408 v8::Context::Scope context_scope(env); in TEST()
1410 v8::Local<v8::Function> func1 = in TEST()
1411 v8::FunctionTemplate::New(env->GetIsolate(), CallJsFunction) in TEST()
1417 v8::Local<v8::Function> func2 = in TEST()
1418 v8::FunctionTemplate::New(env->GetIsolate(), CallJsFunction2) in TEST()
1425 v8::Local<v8::Function> function = GetFunction(env, "start"); in TEST()
1427 v8::CpuProfile* profile = RunProfiler(env, function, NULL, 0, 1000); in TEST()
1429 const v8::CpuProfileNode* root = profile->GetTopDownRoot(); in TEST()
1430 const v8::CpuProfileNode* start_node = GetChild(env, root, "start"); in TEST()
1431 const v8::CpuProfileNode* native_node1 = in TEST()
1433 const v8::CpuProfileNode* bar_node = GetChild(env, native_node1, "bar"); in TEST()
1434 const v8::CpuProfileNode* native_node2 = in TEST()
1447 v8::HandleScope scope(CcTest::isolate()); in TEST()
1448 v8::Local<v8::Context> env = CcTest::NewContext(PROFILER_EXTENSION); in TEST()
1449 v8::Context::Scope context_scope(env); in TEST()
1451 v8::Local<v8::FunctionTemplate> func_template = in TEST()
1452 v8::FunctionTemplate::New(env->GetIsolate(), CallCollectSample); in TEST()
1453 v8::Local<v8::Function> func = in TEST()
1459 v8::Local<v8::Function> function = GetFunction(env, "start"); in TEST()
1460 v8::CpuProfile* profile = RunProfiler(env, function, NULL, 0, 0); in TEST()
1462 const v8::CpuProfileNode* root = profile->GetTopDownRoot(); in TEST()
1463 const v8::CpuProfileNode* start_node = GetChild(env, root, "start"); in TEST()
1500 v8::HandleScope scope(CcTest::isolate()); in TEST()
1501 v8::Local<v8::Context> env = CcTest::NewContext(PROFILER_EXTENSION); in TEST()
1502 v8::Context::Scope context_scope(env); in TEST()
1504 v8::Local<v8::FunctionTemplate> func_template = in TEST()
1505 v8::FunctionTemplate::New(env->GetIsolate(), CallJsFunction); in TEST()
1506 v8::Local<v8::Function> func = in TEST()
1512 v8::Local<v8::Function> function = GetFunction(env, "start"); in TEST()
1514 v8::CpuProfile* profile = RunProfiler(env, function, NULL, 0, 500, 500); in TEST()
1516 const v8::CpuProfileNode* root = profile->GetTopDownRoot(); in TEST()
1517 const v8::CpuProfileNode* start_node = GetChild(env, root, "start"); in TEST()
1518 const v8::CpuProfileNode* native_node = in TEST()
1520 const v8::CpuProfileNode* bar_node = GetChild(env, native_node, "bar"); in TEST()
1563 v8::HandleScope scope(CcTest::isolate()); in TEST()
1564 v8::Local<v8::Context> env = CcTest::NewContext(PROFILER_EXTENSION); in TEST()
1565 v8::Context::Scope context_scope(env); in TEST()
1568 v8::Local<v8::Function> function = GetFunction(env, "start"); in TEST()
1570 v8::CpuProfiler* cpu_profiler = env->GetIsolate()->GetCpuProfiler(); in TEST()
1571 v8::Local<v8::String> profile_name = v8_str("my_profile"); in TEST()
1573 v8::CpuProfile* profile = cpu_profiler->StopProfiling(profile_name); in TEST()
1578 const v8::CpuProfileNode* root = profile->GetTopDownRoot(); in TEST()
1579 const v8::CpuProfileNode* start_node = GetChild(env, root, "start"); in TEST()
1580 const v8::CpuProfileNode* level1_node = GetChild(env, start_node, "level1"); in TEST()
1581 const v8::CpuProfileNode* level2_node = GetChild(env, level1_node, "level2"); in TEST()
1582 const v8::CpuProfileNode* level3_node = GetChild(env, level2_node, "level3"); in TEST()
1594 v8::HandleScope scope(env->GetIsolate()); in TEST()
1595 v8::CpuProfiler* cpu_profiler = env->GetIsolate()->GetCpuProfiler(); in TEST()
1597 v8::Local<v8::String> profile_name = v8_str("my_profile"); in TEST()
1611 v8::CpuProfile* profile = cpu_profiler->StopProfiling(profile_name); in TEST()
1616 const v8::CpuProfileNode* root = profile->GetTopDownRoot(); in TEST()
1617 const v8::CpuProfileNode* program_node = in TEST()
1622 const v8::CpuProfileNode* idle_node = in TEST()
1630 static void CheckFunctionDetails(v8::Isolate* isolate, in CheckFunctionDetails()
1631 const v8::CpuProfileNode* node, in CheckFunctionDetails()
1634 v8::Local<v8::Context> context = isolate->GetCurrentContext(); in CheckFunctionDetails()
1647 v8::HandleScope scope(CcTest::isolate()); in TEST()
1648 v8::Local<v8::Context> env = CcTest::NewContext(PROFILER_EXTENSION); in TEST()
1649 v8::Context::Scope context_scope(env); in TEST()
1651 v8::Local<v8::Script> script_a = CompileWithOrigin( in TEST()
1658 v8::Local<v8::Script> script_b = CompileWithOrigin( in TEST()
1665 const v8::CpuProfile* profile = i::ProfilerExtension::last_profile; in TEST()
1666 const v8::CpuProfileNode* current = profile->GetTopDownRoot(); in TEST()
1668 const_cast<v8::CpuProfileNode*>(current))->Print(0); in TEST()
1675 const v8::CpuProfileNode* root = profile->GetTopDownRoot(); in TEST()
1676 const v8::CpuProfileNode* script = GetChild(env, root, ""); in TEST()
1679 const v8::CpuProfileNode* baz = GetChild(env, script, "baz"); in TEST()
1682 const v8::CpuProfileNode* foo = GetChild(env, baz, "foo"); in TEST()
1685 const v8::CpuProfileNode* bar = GetChild(env, foo, "bar"); in TEST()
1692 v8::HandleScope scope(CcTest::isolate()); in TEST()
1693 v8::Local<v8::Context> env = CcTest::NewContext(PROFILER_EXTENSION); in TEST()
1694 v8::Context::Scope context_scope(env); in TEST()
1696 v8::CpuProfiler* profiler = env->GetIsolate()->GetCpuProfiler(); in TEST()
1700 v8::Local<v8::String> outer = v8_str("outer"); in TEST()
1704 v8::Local<v8::String> inner = v8_str("inner"); in TEST()
1708 v8::CpuProfile* inner_profile = profiler->StopProfiling(inner); in TEST()
1715 v8::CpuProfile* outer_profile = profiler->StopProfiling(outer); in TEST()
1724 const char* GetBranchDeoptReason(v8::Local<v8::Context> context, in GetBranchDeoptReason()
1727 v8::CpuProfile* profile = reinterpret_cast<v8::CpuProfile*>(iprofile); in GetBranchDeoptReason()
1739 v8::HandleScope scope(CcTest::isolate()); in TEST()
1740 v8::Local<v8::Context> env = CcTest::NewContext(PROFILER_EXTENSION); in TEST()
1741 v8::Context::Scope context_scope(env); in TEST()
1742 v8::Isolate* isolate = env->GetIsolate(); in TEST()
1743 v8::CpuProfiler* profiler = isolate->GetCpuProfiler(); in TEST()
1757 v8::Script::Compile(env, v8_str(buffer.start())) in TEST()
1793 v8::Script::Compile(env, v8_str(source)) in TEST()
1844 v8::HandleScope scope(CcTest::isolate()); in TEST()
1852 v8::Script::Compile(env.local(), v8_str(source)) in TEST()
1869 v8::HandleScope scope(CcTest::isolate()); in TEST()
1870 v8::Local<v8::Context> env = CcTest::NewContext(PROFILER_EXTENSION); in TEST()
1871 v8::Context::Scope context_scope(env); in TEST()
1872 v8::Isolate* isolate = env->GetIsolate(); in TEST()
1873 v8::CpuProfiler* profiler = isolate->GetCpuProfiler(); in TEST()
1893 v8::Local<v8::Script> inlined_script = v8_compile(inlined_source); in TEST()
1897 v8::Local<v8::Script> script = v8_compile(source); in TEST()
1913 v8::CpuProfile* profile = reinterpret_cast<v8::CpuProfile*>(iprofile); in TEST()
1918 const std::vector<v8::CpuProfileDeoptInfo>& deopt_infos = in TEST()
1922 const v8::CpuProfileDeoptInfo& info = deopt_infos[0]; in TEST()
1938 v8::HandleScope scope(CcTest::isolate()); in TEST()
1939 v8::Local<v8::Context> env = CcTest::NewContext(PROFILER_EXTENSION); in TEST()
1940 v8::Context::Scope context_scope(env); in TEST()
1941 v8::Isolate* isolate = env->GetIsolate(); in TEST()
1942 v8::CpuProfiler* profiler = isolate->GetCpuProfiler(); in TEST()
1963 v8::Local<v8::Script> inlined_script = v8_compile(inlined_source); in TEST()
1967 v8::Local<v8::Script> script = v8_compile(source); in TEST()
1986 v8::CpuProfile* profile = reinterpret_cast<v8::CpuProfile*>(iprofile); in TEST()
1991 const std::vector<v8::CpuProfileDeoptInfo>& deopt_infos = in TEST()
1995 const v8::CpuProfileDeoptInfo info = deopt_infos[0]; in TEST()
2012 v8::HandleScope scope(CcTest::isolate()); in TEST()
2013 v8::Local<v8::Context> env = CcTest::NewContext(PROFILER_EXTENSION); in TEST()
2014 v8::Context::Scope context_scope(env); in TEST()
2015 v8::Isolate* isolate = env->GetIsolate(); in TEST()
2016 v8::CpuProfiler* profiler = isolate->GetCpuProfiler(); in TEST()
2036 v8::Local<v8::Script> inlined_script = v8_compile(inlined_source); in TEST()
2039 v8::Local<v8::Script> script = v8_compile(source); in TEST()
2044 v8::CpuProfile* profile = reinterpret_cast<v8::CpuProfile*>(iprofile); in TEST()