Lines Matching refs:depth
52 DCHECK_LE(new_depth, access.depth()); in SimplifyJSLoadContext()
54 if (new_depth == access.depth() && in SimplifyJSLoadContext()
71 DCHECK_LE(new_depth, access.depth()); in SimplifyJSStoreContext()
73 if (new_depth == access.depth() && in SimplifyJSStoreContext()
132 size_t depth = access.depth(); in ReduceJSLoadContext() local
135 Node* context = NodeProperties::GetOuterContext(node, &depth); in ReduceJSLoadContext()
138 GetSpecializationContext(js_heap_broker(), context, &depth, outer()); in ReduceJSLoadContext()
142 return SimplifyJSLoadContext(node, context, depth); in ReduceJSLoadContext()
147 for (; depth > 0; --depth) { in ReduceJSLoadContext()
154 return SimplifyJSLoadContext(node, jsgraph()->Constant(concrete), depth); in ReduceJSLoadContext()
175 return SimplifyJSLoadContext(node, jsgraph()->Constant(concrete), depth); in ReduceJSLoadContext()
192 size_t depth = access.depth(); in ReduceJSStoreContext() local
196 Node* context = NodeProperties::GetOuterContext(node, &depth); in ReduceJSStoreContext()
199 GetSpecializationContext(js_heap_broker(), context, &depth, outer()); in ReduceJSStoreContext()
203 return SimplifyJSStoreContext(node, context, depth); in ReduceJSStoreContext()
208 for (; depth > 0; --depth) { in ReduceJSStoreContext()
212 return SimplifyJSStoreContext(node, jsgraph()->Constant(concrete), depth); in ReduceJSStoreContext()