Home
last modified time | relevance | path

Searched refs:is_sloppy (Results 1 – 23 of 23) sorted by relevance

/external/v8/src/parsing/
Dpreparser.cc195 if (is_sloppy(inner_scope->language_mode())) { in PreParseFunction()
203 if (is_sloppy(function_scope->language_mode())) { in PreParseFunction()
234 is_sloppy(function_scope->language_mode()) && formals.is_simple && in PreParseFunction()
332 if (is_sloppy(language_mode)) { in ParseFunctionLiteral()
341 is_sloppy(language_mode) && formals.is_simple && !IsConciseMethod(kind); in ParseFunctionLiteral()
Dtoken.h234 return is_sloppy(language_mode); in IsIdentifier()
236 return !is_generator && is_sloppy(language_mode); in IsIdentifier()
Dparser-base.h878 if (is_sloppy(language_mode)) return; in CheckFunctionName()
1407 if (is_sloppy(scope->language_mode())) { in CheckPossibleEvalCall()
1741 } else if (is_sloppy(language_mode()) && in ParseAndClassifyIdentifier()
4098 bool is_sloppy_block_function = is_sloppy(language_mode()) && in ParseHoistableDeclaration()
4250 if (is_sloppy(inner_scope->language_mode())) { in ParseFunctionBody()
4272 if (is_sloppy(function_scope->language_mode())) { in ParseFunctionBody()
4335 return is_sloppy(language_mode()); in IsNextLetKeyword()
5246 if (peek() == Token::FUNCTION && is_sloppy(language_mode()) && in ParseExpressionOrLabelledStatement()
Dparser.cc606 if (ok && is_sloppy(language_mode())) { in DoParseProgram()
771 DCHECK(is_sloppy(outer->language_mode()) || in DoParseFunction()
3136 is_sloppy(function_scope->language_mode()) && formals.is_simple && in ParseFunction()
3611 if (is_sloppy(mode)) in SetLanguageMode()
/external/v8/src/objects/
Dapi-callbacks-inl.h61 BIT_FIELD_ACCESSORS(AccessorInfo, flags, is_sloppy, AccessorInfo::IsSloppyBit) in BIT_FIELD_ACCESSORS()
Dapi-callbacks.h50 DECL_BOOLEAN_ACCESSORS(is_sloppy)
Dshared-function-info-inl.h200 DCHECK(is_sloppy(this->language_mode()) || is_strict(language_mode)); in set_language_mode()
Dscope-info.cc468 DCHECK_IMPLIES(calls_sloppy_eval, is_sloppy(language_mode())); in CallsSloppyEval()
/external/v8/src/ast/
Dscopes.cc513 DCHECK(is_sloppy(language_mode())); in HoistSloppyBlockFunctions()
672 if (scope->is_eval_scope() && is_sloppy(scope->language_mode())) { in Analyze()
762 VariableKind kind = is_sloppy(language_mode()) ? SLOPPY_FUNCTION_NAME_VARIABLE in DeclareFunctionVar()
854 !is_sloppy(language_mode())); in FinalizeBlockScope()
1129 if (is_eval_scope() && is_sloppy(language_mode()) && in DeclareVariable()
1152 if (is_sloppy(language_mode()) && is_function_declaration && in DeclareVariable()
1388 if (s->is_eval_scope()) return is_sloppy(s->language_mode()); in AllowsLazyParsingWithoutUnresolvedVariables()
Dscopes.h674 return scope_calls_eval_ && is_sloppy(language_mode()); in calls_sloppy_eval()
812 return is_sloppy(language_mode()) && has_simple_parameters() in GetArgumentsType()
/external/v8/src/builtins/
Dbuiltins-api.cc177 is_sloppy(JSFunction::cast(*function)->shared()->language_mode())) { in InvokeApiFunction()
/external/v8/src/
Dcontexts.cc327 is_sloppy(scope_info->language_mode())) { in Lookup()
Dglobals.h316 inline bool is_sloppy(LanguageMode language_mode) { in is_sloppy() function
Dcompiler.cc1278 DCHECK(is_sloppy(language_mode) || is_strict(shared_info->language_mode())); in GetFunctionFromEval()
Dobjects.cc1561 if (info->is_sloppy() && !receiver->IsJSReceiver()) { in GetPropertyWithAccessor()
1667 if (info->is_sloppy() && !receiver->IsJSReceiver()) { in SetPropertyWithAccessor()
5006 is_sloppy(language_mode) ? kDontThrow : kThrowOnError; in SetPropertyInternal()
5128 is_sloppy(language_mode) ? kDontThrow : kThrowOnError; in SetProperty()
5151 is_sloppy(language_mode) ? kDontThrow : kThrowOnError; in SetSuperProperty()
5845 is_sloppy(language_mode) ? kDontThrow : kThrowOnError; in SetProperty()
5892 is_sloppy(language_mode) ? kDontThrow : kThrowOnError; in DeletePropertyOrElement()
6898 is_sloppy(language_mode) ? kDontThrow : kThrowOnError; in DeleteProperty()
9748 if (is_sloppy(shared_info->language_mode())) return initial_map; in AsLanguageMode()
/external/v8/src/compiler/
Djs-inlining.cc607 is_sloppy(shared_info->language_mode()) && !shared_info->native()) { in ReduceJSCall()
Dpipeline.cc2016 if (is_sloppy(info()->shared_info()->language_mode()) && in CreateGraph()
Djs-typed-lowering.cc1692 if (is_sloppy(shared.language_mode()) && !shared.native() && in ReduceJSCall()
Dwasm-compiler.cc4515 if (is_sloppy(function->shared()->language_mode()) && in BuildWasmToJSWrapper()
4548 if (is_sloppy(function->shared()->language_mode()) && in BuildWasmToJSWrapper()
Dbytecode-graph-builder.cc1305 is_sloppy(language_mode)); in VisitStaLookupSlot()
/external/v8/src/ic/
Dic.cc894 (info->is_sloppy() && !receiver->IsJSReceiver())) { in ComputeHandler()
2605 is_sloppy(language_mode) ? kDontThrow : kThrowOnError; in RUNTIME_FUNCTION()
/external/v8/src/heap/
Dfactory.cc2297 DCHECK(is_sloppy(result->shared()->language_mode())); in NewFunctionForTest()
2312 DCHECK(is_sloppy(info->language_mode())); in NewFunction()
/external/v8/src/interpreter/
Dbytecode-generator.cc3905 DCHECK(is_sloppy(language_mode()) || proxy->is_this() || in VisitDelete()