Lines Matching defs:context
44 // Scoped class tracking context objects created by the visitor. Represents
45 // mutations of the context chain within the function body, allowing pushing and
60 // Push the outer context into a new context register.
82 // Returns the depth of the given |scope| for the current execution context.
87 // Returns the execution context at |depth| in the current context chain if it
88 // is a function local execution context, otherwise returns nullptr.
161 // Helper to pop the context chain to a depth expected by this control scope.
168 ContextScope* context() const { return context_; }
561 // Pop context to the expected depth. Note that this can in fact pop multiple
563 if (generator()->execution_context() != context()) {
564 generator()->builder()->PopContext(context()->reg());
1206 // Unoptimized compilation should be context-independent. Verify that we don't
1207 // access the native context by nulling it out during finalization.
1244 // Unoptimized compilation should be context-independent. Verify that we don't
1245 // access the native context by nulling it out during finalization.
1370 // Initialize the incoming context.
1388 // Push a new inner context scope for the function.
1561 // with the hole the same way as normal context allocated variables.
2147 // Preserve the context in a dedicated register, so that it can be restored
2150 Register context = register_allocator()->NewRegister();
2151 builder()->MoveRegister(Register::current_context(), context);
2155 try_control_builder.BeginTry(context);
2162 catch_body_func(context);
2200 // Preserve the context in a dedicated register, so that it can be restored
2203 Register context = register_allocator()->NewRegister();
2204 builder()->MoveRegister(Register::current_context(), context);
2208 try_control_builder.BeginTry(context);
2223 Register message = context; // Reuse register.
2475 [&](Register context) {
2479 builder()->StoreAccumulatorInRegister(context);
2487 // Load the catch context into the accumulator.
2488 builder()->LoadAccumulatorWithRegister(context);
2567 // Create the class brand symbol and store it on the context during class
2593 // evaluation and store them on the context. These will be
2803 // after the block context is created. Otherwise we have a mismatch
2804 // between the scope and the context, where we already are in a
2805 // block context for the class, but not yet in the class scope.
2916 // arrow function or a eval(), so the class scope context isn't
2917 // tracked in a context register in the stack, and we have to
2918 // walk the context chain from the runtime to find it.
3566 ContextScope* context = execution_context()->Previous(depth);
3568 if (context) {
3569 context_reg = context->reg();
3750 ContextScope* context = execution_context()->Previous(depth);
3753 if (context) {
3754 context_reg = context->reg();
4064 [&](Register context) {
4065 // Reuse context register to store the exception.
4066 Register close_exception = context;
4662 // Save context, registers, and state. This bytecode then returns the value
5119 // loaded (stored in a context slot), so load this directly.
5228 // is not available since it was not be context-allocated. Therefore we
5673 // a context, if it doesn't this would get handled specially in
5679 // the case we are certain that its outer class scope requires a context to
5798 // same test result context.
5884 // Deleting local var/let/const, context variables, and arguments
5891 // behavior, but does unnecessary context-walking (since scope
6837 // Create the appropriate context.
6864 // Context variable (at bottom of the context chain).
6870 // Copy parameters into context if necessary.
6877 // Context variable (at bottom of the context chain).