Home
last modified time | relevance | path

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

12

/external/v8/src/parsing/
Dpreparser.cc155 if (is_sloppy(inner_scope->language_mode())) { in PreParseFunction()
163 if (is_sloppy(function_scope->language_mode())) { in PreParseFunction()
191 is_sloppy(function_scope->language_mode()) && formals.is_simple && in PreParseFunction()
266 if (is_sloppy(language_mode)) { in ParseFunctionLiteral()
275 is_sloppy(language_mode) && formals.is_simple && !IsConciseMethod(kind); in ParseFunctionLiteral()
Dtoken.h212 return is_sloppy(language_mode); in IsIdentifier()
214 return !is_generator && is_sloppy(language_mode); in IsIdentifier()
Dparser-base.h876 if (is_sloppy(language_mode)) return; in CheckFunctionName()
1338 if (is_sloppy(scope->language_mode())) { in CheckPossibleEvalCall()
1632 } else if (is_sloppy(language_mode()) && in ParseAndClassifyIdentifier()
3852 is_sloppy(language_mode()) && !scope()->is_declaration_scope() && in ParseHoistableDeclaration()
4005 if (is_sloppy(inner_scope->language_mode())) { in ParseFunctionBody()
4027 if (is_sloppy(function_scope->language_mode())) { in ParseFunctionBody()
4093 return is_sloppy(language_mode()); in IsNextLetKeyword()
4226 if (allow_tailcalls() && !is_sloppy(language_mode())) { in ParseArrowFunctionLiteral()
4989 if (peek() == Token::FUNCTION && is_sloppy(language_mode()) && in ParseExpressionOrLabelledStatement()
5144 if (allow_tailcalls() && !is_sloppy(language_mode()) && !is_resumable()) { in ParseReturnStatement()
Dparser.cc725 if (ok && is_sloppy(language_mode())) { in DoParseProgram()
849 DCHECK(is_sloppy(outer->language_mode()) || in DoParseFunction()
3187 is_sloppy(function_scope->language_mode()) && formals.is_simple && in ParseFunction()
3764 if (is_sloppy(mode)) in SetLanguageMode()
/external/v8/src/objects/
Dscope-info.h50 bool CallsSloppyEval() { return CallsEval() && is_sloppy(language_mode()); } in CallsSloppyEval()
/external/v8/src/ast/
Dscopes.cc478 DCHECK(is_sloppy(language_mode())); in HoistSloppyBlockFunctions()
607 if (scope->is_eval_scope() && is_sloppy(scope->language_mode())) { in Analyze()
694 VariableKind kind = is_sloppy(language_mode()) ? SLOPPY_FUNCTION_NAME_VARIABLE in DeclareFunctionVar()
1043 if (is_eval_scope() && is_sloppy(language_mode()) && mode == VAR) { in DeclareVariable()
1065 if (is_sloppy(language_mode()) && is_function_declaration && in DeclareVariable()
1303 if (s->is_eval_scope()) return is_sloppy(s->language_mode()); in AllowsLazyParsingWithoutUnresolvedVariables()
2090 is_sloppy(language_mode()) && has_simple_parameters(); in AllocateParameterLocals()
Dscopes.h327 return scope_calls_eval_ && is_sloppy(language_mode()); in NON_EXPORTED_BASE()
/external/v8/src/
Dcompilation-info.cc210 return is_sloppy(parse_info()->language_mode()) && !parse_info()->is_native(); in ExpectsJSReceiverAsReceiver()
Dglobals.h318 inline bool is_sloppy(LanguageMode language_mode) { in is_sloppy() function
Dcompiler.cc1552 DCHECK(is_sloppy(language_mode) || is_strict(shared_info->language_mode())); in GetFunctionFromEval()
Dobjects.cc1382 if (info->is_sloppy() && !receiver->IsJSReceiver()) { in GetPropertyWithAccessor()
1484 if (info->is_sloppy() && !receiver->IsJSReceiver()) { in SetPropertyWithAccessor()
4243 is_sloppy(language_mode) ? DONT_THROW : THROW_ON_ERROR; in SetPropertyInternal()
4341 is_sloppy(language_mode) ? DONT_THROW : THROW_ON_ERROR; in SetProperty()
4364 is_sloppy(language_mode) ? DONT_THROW : THROW_ON_ERROR; in SetSuperProperty()
5043 is_sloppy(language_mode) ? DONT_THROW : THROW_ON_ERROR; in SetProperty()
5108 is_sloppy(language_mode) ? DONT_THROW : THROW_ON_ERROR; in DeletePropertyOrElement()
5983 is_sloppy(language_mode) ? DONT_THROW : THROW_ON_ERROR; in DeleteProperty()
/external/v8/src/builtins/
Dbuiltins-api.cc177 is_sloppy(JSFunction::cast(*function)->shared()->language_mode())) { in InvokeApiFunction()
/external/v8/src/ic/
Dic.cc1072 is_sloppy(function->shared()->language_mode())) { in IsCompatibleReceiver()
1346 (info->is_sloppy() && !receiver->IsJSReceiver())) { in GetMapIndependentHandler()
1503 DCHECK(!info->is_sloppy() || receiver->IsJSReceiver()); in CompileHandler()
1974 if (info->is_sloppy() && !receiver->IsJSReceiver()) { in GetMapIndependentHandler()
2078 DCHECK(!info->is_sloppy() || receiver->IsJSReceiver()); in CompileHandler()
3054 is_sloppy(language_mode) ? Object::DONT_THROW : Object::THROW_ON_ERROR; in RUNTIME_FUNCTION()
/external/v8/src/compiler/
Djs-inlining.cc699 is_sloppy(shared_info->language_mode()) && !shared_info->native()) { in ReduceJSCall()
Dpipeline.cc1531 if (is_sloppy(info()->shared_info()->language_mode()) && in CreateGraph()
/external/v8/src/runtime/
Druntime-debug.cc743 DCHECK_IMPLIES(!is_optimized && is_sloppy(shared->language_mode()), in RUNTIME_FUNCTION()
/external/v8/src/full-codegen/ia32/
Dfull-codegen-ia32.cc2173 DCHECK(is_sloppy(language_mode()) || is_this); in VisitUnaryOperation()
/external/v8/src/full-codegen/x64/
Dfull-codegen-x64.cc2162 DCHECK(is_sloppy(language_mode()) || is_this); in VisitUnaryOperation()
/external/v8/src/full-codegen/x87/
Dfull-codegen-x87.cc2163 DCHECK(is_sloppy(language_mode()) || is_this); in VisitUnaryOperation()
/external/v8/src/full-codegen/arm/
Dfull-codegen-arm.cc2252 DCHECK(is_sloppy(language_mode()) || is_this); in VisitUnaryOperation()
/external/v8/src/full-codegen/arm64/
Dfull-codegen-arm64.cc2219 DCHECK(is_sloppy(language_mode()) || is_this); in VisitUnaryOperation()
/external/v8/src/full-codegen/mips/
Dfull-codegen-mips.cc2275 DCHECK(is_sloppy(language_mode()) || is_this); in VisitUnaryOperation()
/external/v8/src/full-codegen/mips64/
Dfull-codegen-mips64.cc2276 DCHECK(is_sloppy(language_mode()) || is_this); in VisitUnaryOperation()
/external/v8/src/interpreter/
Dbytecode-generator.cc2782 DCHECK(is_sloppy(language_mode()) || variable->is_this()); in VisitDelete()
/external/v8/src/full-codegen/s390/
Dfull-codegen-s390.cc2218 DCHECK(is_sloppy(language_mode()) || is_this); in VisitUnaryOperation()

12