Lines Matching refs:depth

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
89 ContextScope* Previous(int depth) {
90 if (depth > depth_) {
95 for (int i = depth; i > 0; --i) {
161 // Helper to pop the context chain to a depth expected by this control scope.
561 // Pop context to the expected depth. Note that this can in fact pop multiple
2905 int depth = execution_context()->ContextChainDepth(brand->scope());
2906 ContextScope* class_context = execution_context()->Previous(depth);
2925 .LoadLiteral(Smi::FromInt(depth))
3565 int depth = execution_context()->ContextChainDepth(variable->scope());
3566 ContextScope* context = execution_context()->Previous(depth);
3570 depth = 0;
3580 builder()->LoadContextSlot(context_reg, variable->index(), depth,
3591 int depth =
3594 local_variable->index(), depth);
3601 int depth =
3607 feedback_index(slot), depth);
3616 int depth = execution_context()->ContextChainDepth(variable->scope());
3617 builder()->LoadModuleVariable(variable->index(), depth);
3749 int depth = execution_context()->ContextChainDepth(variable->scope());
3750 ContextScope* context = execution_context()->Previous(depth);
3755 depth = 0;
3765 .LoadContextSlot(context_reg, variable->index(), depth,
3773 builder()->StoreContextSlot(context_reg, variable->index(), depth);
3797 int depth = execution_context()->ContextChainDepth(variable->scope());
3802 .LoadModuleVariable(variable->index(), depth);
3806 builder()->StoreModuleVariable(variable->index(), depth);