Lines Matching defs:isolate
8 #include "src/execution/isolate-inl.h"
25 Isolate* isolate, Handle<JSFunction> function,
33 Handle<SharedFunctionInfo> shared_info(function->shared(), isolate);
36 SharedFunctionInfo::EnsureBytecodeArrayAvailable(isolate, shared_info,
40 isolate->heap()->pending_optimize_for_test_bytecode().IsUndefined()
41 ? ObjectHashTable::New(isolate, 1)
43 isolate->heap()->pending_optimize_for_test_bytecode()),
44 isolate);
45 Handle<Tuple2> tuple = isolate->factory()->NewTuple2(
46 handle(shared_info->GetBytecodeArray(isolate), isolate),
47 handle(Smi::FromInt(status), isolate), AllocationType::kYoung);
49 ObjectHashTable::Put(table, handle(function->shared(), isolate), tuple);
50 isolate->heap()->SetPendingOptimizeForTestBytecode(*table);
54 Isolate* isolate, JSFunction function) {
58 handle(isolate->heap()->pending_optimize_for_test_bytecode(), isolate);
61 ? handle(ReadOnlyRoots(isolate).the_hole_value(), isolate)
63 handle(function.shared(), isolate)),
64 isolate);
75 Isolate* isolate, Handle<JSFunction> function) {
79 handle(isolate->heap()->pending_optimize_for_test_bytecode(), isolate);
82 ? handle(ReadOnlyRoots(isolate).the_hole_value(), isolate)
84 handle(function->shared(), isolate)),
85 isolate);
103 handle(function->shared(), isolate), entry);
104 isolate->heap()->SetPendingOptimizeForTestBytecode(*table);
108 Isolate* isolate, Handle<JSFunction> function) {
111 if (isolate->heap()->pending_optimize_for_test_bytecode().IsUndefined()) {
117 isolate->heap()->pending_optimize_for_test_bytecode()),
118 isolate);
119 Handle<Object> value(table->Lookup(handle(function->shared(), isolate)),
120 isolate);
128 table = table->Remove(isolate, table, handle(function->shared(), isolate),
131 isolate->heap()->SetPendingOptimizeForTestBytecode(*table);