Lines Matching defs:context
192 // Creating a script context is a side effect, so abort if that's not
199 SaveAndSwitchContext save(isolate, function->context());
203 Handle<NativeContext> native_context(NativeContext::cast(function->context()),
217 Handle<Context> context = ScriptContextTable::GetContext(
226 context->scope_info().IsReplModeScope())) {
268 // We use the previous defined script context for those.
315 SaveAndSwitchContext save(isolate, function->context());
316 DCHECK(function->context().global_object().IsJSGlobalObject());
348 Handle<Context> context;
352 .ToHandle(&context)) {
359 // We mutate the context if we allocate a script context. This is
360 // guaranteed to only happen once in a native context since scripts will
362 function->set_context(*context);
382 Handle<Context> context = isolate->native_context();
383 if (!context->script_execution_callback().IsUndefined(isolate)) {
386 context->script_execution_callback());
388 v8::Local<v8::Context> api_context = v8::Utils::ToLocal(context);
402 // Save and restore context around invocation and block the
620 // Save and restore context around invocation and block the