Home
last modified time | relevance | path

Searched refs:is_this (Results 1 – 20 of 20) sorted by relevance

/external/v8/src/ast/
Dvariables.cc62 scope_ != NULL && scope_->is_script_scope() && !is_this(); in IsGlobalObjectProperty()
70 scope_ != NULL && scope_->is_script_scope() && !is_this(); in IsStaticGlobalObjectProperty()
Dvariables.h62 return !is_this() && name().is_identical_to(n); in IsVariable()
88 bool is_this() const { return kind_ == THIS; } in is_this() function
98 return is_this() || *name() == *isolate->factory()->this_string(); in HasThisName()
Dast.cc64 (IsVariableProxy() && AsVariableProxy()->is_this()); in IsValidReferenceExpressionOrThis()
71 bit_field_(IsThisField::encode(var->is_this()) | in VariableProxy()
92 DCHECK((is_this() && var->is_this()) || raw_name() == var->raw_name()); in BindTo()
Dscopes.cc1143 bool name_can_be_shadowed = var == nullptr || !var->is_this(); in LookupRecursive()
1414 if ((var->is_this() || !var->raw_name()->IsEmpty()) && in MustAllocate()
Dast.h1721 return !is_this() && !is_new_target(); in DECLARE_NODE_TYPE()
1741 bool is_this() const { return IsThisField::decode(bit_field_); } in is_this() function
2910 DCHECK(this_var->is_this()); in SuperPropertyReference()
2939 DCHECK(this_var->is_this()); in SuperCallReference()
/external/v8/src/parsing/
Dpreparser.cc656 bool is_this = peek() == Token::THIS; in ParseExpressionOrLabelledStatement() local
659 if (is_this) { in ParseExpressionOrLabelledStatement()
675 is_this in ParseExpressionOrLabelledStatement()
Dparser.cc348 property->obj()->AsVariableProxy()->is_this(); in IsThisProperty()
354 return operand != NULL && !operand->is_this(); in IsIdentifier()
2512 bool is_this = peek() == Token::THIS; in ParseExpressionOrLabelledStatement() local
2515 if (is_this) { in ParseExpressionOrLabelledStatement()
2531 is_this in ParseExpressionOrLabelledStatement()
2550 !expr->AsVariableProxy()->is_this()) { in ParseExpressionOrLabelledStatement()
/external/v8/src/compiler/
Dast-loop-assignment-analyzer.cc306 if (var->is_this()) return 0; in GetVariableIndex()
Dast-graph-builder.cc3505 if (current->op() != the_hole->op() && variable->is_this()) { in BuildVariableAssignment()
3547 if (variable->is_this()) { in BuildVariableAssignment()
/external/v8/src/full-codegen/ia32/
Dfull-codegen-ia32.cc2455 } else if (var->is_this() && var->mode() == CONST && op == Token::INIT) { in EmitVariableAssignment()
4029 bool is_this = var->HasThisName(isolate()); in VisitUnaryOperation() local
4030 DCHECK(is_sloppy(language_mode()) || is_this); in VisitUnaryOperation()
4041 context()->Plug(is_this); in VisitUnaryOperation()
/external/v8/src/full-codegen/arm/
Dfull-codegen-arm.cc2563 } else if (var->is_this() && var->mode() == CONST && op == Token::INIT) { in EmitVariableAssignment()
4110 bool is_this = var->HasThisName(isolate()); in VisitUnaryOperation() local
4111 DCHECK(is_sloppy(language_mode()) || is_this); in VisitUnaryOperation()
4121 context()->Plug(is_this); in VisitUnaryOperation()
/external/v8/src/full-codegen/arm64/
Dfull-codegen-arm64.cc2267 } else if (var->is_this() && var->mode() == CONST && op == Token::INIT) { in EmitVariableAssignment()
3821 bool is_this = var->HasThisName(isolate()); in VisitUnaryOperation() local
3822 DCHECK(is_sloppy(language_mode()) || is_this); in VisitUnaryOperation()
3832 context()->Plug(is_this); in VisitUnaryOperation()
/external/v8/src/full-codegen/x64/
Dfull-codegen-x64.cc2442 } else if (var->is_this() && var->mode() == CONST && op == Token::INIT) { in EmitVariableAssignment()
4034 bool is_this = var->HasThisName(isolate()); in VisitUnaryOperation() local
4035 DCHECK(is_sloppy(language_mode()) || is_this); in VisitUnaryOperation()
4046 context()->Plug(is_this); in VisitUnaryOperation()
/external/v8/src/full-codegen/mips64/
Dfull-codegen-mips64.cc2554 } else if (var->is_this() && var->mode() == CONST && op == Token::INIT) { in EmitVariableAssignment()
4123 bool is_this = var->HasThisName(isolate()); in VisitUnaryOperation() local
4124 DCHECK(is_sloppy(language_mode()) || is_this); in VisitUnaryOperation()
4134 context()->Plug(is_this); in VisitUnaryOperation()
/external/v8/src/full-codegen/x87/
Dfull-codegen-x87.cc2447 } else if (var->is_this() && var->mode() == CONST && op == Token::INIT) { in EmitVariableAssignment()
4021 bool is_this = var->HasThisName(isolate()); in VisitUnaryOperation() local
4022 DCHECK(is_sloppy(language_mode()) || is_this); in VisitUnaryOperation()
4033 context()->Plug(is_this); in VisitUnaryOperation()
/external/v8/src/full-codegen/mips/
Dfull-codegen-mips.cc2552 } else if (var->is_this() && var->mode() == CONST && op == Token::INIT) { in EmitVariableAssignment()
4116 bool is_this = var->HasThisName(isolate()); in VisitUnaryOperation() local
4117 DCHECK(is_sloppy(language_mode()) || is_this); in VisitUnaryOperation()
4127 context()->Plug(is_this); in VisitUnaryOperation()
/external/v8/src/full-codegen/ppc/
Dfull-codegen-ppc.cc2558 } else if (var->is_this() && var->mode() == CONST && op == Token::INIT) { in EmitVariableAssignment()
4118 bool is_this = var->HasThisName(isolate()); in VisitUnaryOperation() local
4119 DCHECK(is_sloppy(language_mode()) || is_this); in VisitUnaryOperation()
4129 context()->Plug(is_this); in VisitUnaryOperation()
/external/v8/src/full-codegen/
Dfull-codegen.cc1719 if (var->is_this()) { in NeedsHoleCheckForLoad()
/external/v8/src/crankshaft/
Dhydrogen.h2321 return !var->is_this() && in IsEligibleForEnvironmentLivenessAnalysis()
Dhydrogen.cc5572 if (var->is_this() || !current_info()->has_global_object()) { in LookupGlobalProperty()