Home | History | Annotate | Download | only in debug

Lines Matching refs:Mode

132       // Language mode may be inherited from the eval caller.
167 // faulty. We fail in debug mode but in release mode we only provide the
199 Handle<JSObject> scope_object = ScopeObject(Mode::ALL);
232 bool ScopeIterator::DeclaresLocals(Mode mode) const {
235 if (type == ScopeTypeWith) return mode == Mode::ALL;
236 if (type == ScopeTypeGlobal) return mode == Mode::ALL;
243 VisitScope(visitor, mode);
355 Handle<JSObject> ScopeIterator::ScopeObject(Mode mode) {
360 DCHECK_EQ(Mode::ALL, mode);
364 DCHECK_EQ(Mode::ALL, mode);
374 VisitScope(visitor, mode);
378 void ScopeIterator::VisitScope(const Visitor& visitor, Mode mode) const {
385 return VisitLocalScope(visitor, mode);
388 return VisitLocalScope(visitor, mode);
390 DCHECK_EQ(Mode::ALL, mode);
393 DCHECK_EQ(Mode::ALL, mode);
600 bool ScopeIterator::VisitLocals(const Visitor& visitor, Mode mode) const {
616 if (mode == Mode::ALL) continue;
677 if (mode == Mode::STACK) continue;
687 if (mode == Mode::STACK) continue;
714 void ScopeIterator::VisitLocalScope(const Visitor& visitor, Mode mode) const {
716 if (VisitLocals(visitor, mode)) return;
717 if (mode == Mode::STACK && Type() == ScopeTypeLocal) {
743 DCHECK_EQ(Mode::ALL, mode);
748 if (mode == Mode::ALL && HasContext()) {
860 VariableMode mode;
863 int slot_index = ScopeInfo::ContextSlotIndex(scope_info, variable_name, &mode,
874 VariableMode mode;
878 variable_name, &mode, &init_flag, &maybe_assigned_flag);