Home
last modified time | relevance | path

Searched refs:VariableProxy (Results 1 – 25 of 35) sorted by relevance

12

/external/v8/src/ast/
Dscopes.h26 class VariableProxy; variable
121 VariableProxy* top_unresolved_; in NON_EXPORTED_BASE()
193 VariableProxy* NewUnresolved(AstNodeFactory* factory, in NON_EXPORTED_BASE()
198 void AddUnresolved(VariableProxy* proxy); in NON_EXPORTED_BASE()
206 bool RemoveUnresolved(VariableProxy* var); in NON_EXPORTED_BASE()
506 VariableProxy* unresolved_; in NON_EXPORTED_BASE()
564 Variable* LookupRecursive(VariableProxy* proxy, Scope* outer_scope_end); in NON_EXPORTED_BASE()
565 void ResolveTo(ParseInfo* info, VariableProxy* proxy, Variable* var); in NON_EXPORTED_BASE()
566 void ResolveVariable(ParseInfo* info, VariableProxy* proxy); in NON_EXPORTED_BASE()
572 VariableProxy* FetchFreeVariables(DeclarationScope* max_outer_scope, in NON_EXPORTED_BASE()
[all …]
Dast.h92 V(VariableProxy) \
484 VariableProxy* result() { return result_; } in result()
485 void set_result(VariableProxy* v) { result_ = v; } in set_result()
495 DoExpression(Block* block, VariableProxy* result, int pos) in DoExpression()
507 VariableProxy* result_;
516 VariableProxy* proxy() const { return proxy_; } in proxy()
520 Declaration(VariableProxy* proxy, Scope* scope, int pos, NodeType type) in Declaration()
524 VariableProxy* proxy_;
538 VariableDeclaration(VariableProxy* proxy, Scope* scope, int pos) in VariableDeclaration()
551 FunctionDeclaration(VariableProxy* proxy, FunctionLiteral* fun, Scope* scope, in FunctionDeclaration()
[all …]
Dast-expression-rewriter.cc223 void AstExpressionRewriter::VisitVariableProxy(VariableProxy* node) { in VisitVariableProxy()
351 AST_REWRITE_PROPERTY(VariableProxy, node, this_var); in VisitSuperPropertyReference()
358 AST_REWRITE_PROPERTY(VariableProxy, node, this_var); in VisitSuperCallReference()
359 AST_REWRITE_PROPERTY(VariableProxy, node, new_target_var); in VisitSuperCallReference()
360 AST_REWRITE_PROPERTY(VariableProxy, node, this_function_var); in VisitSuperCallReference()
383 AST_REWRITE_PROPERTY(VariableProxy, node, result); in VisitDoExpression()
Dscopes.cc550 VariableProxy* proxy = in HoistSloppyBlockFunctions()
771 VariableProxy* unresolved = unresolved_; in FinalizeBlockScope()
835 VariableProxy* last = outer_scope_->unresolved_; in Reparent()
1026 VariableProxy* proxy = declaration->proxy(); in DeclareVariable()
1160 VariableProxy* Scope::NewUnresolved(AstNodeFactory* factory, in NewUnresolved()
1168 VariableProxy* proxy = factory->NewVariableProxy(name, kind, start_position); in NewUnresolved()
1174 void Scope::AddUnresolved(VariableProxy* proxy) { in AddUnresolved()
1189 bool Scope::RemoveUnresolved(VariableProxy* var) { in RemoveUnresolved()
1195 VariableProxy* current = unresolved_; in RemoveUnresolved()
1197 VariableProxy* next = current->next_unresolved(); in RemoveUnresolved()
[all …]
Dast.cc115 const VariableProxy* var_proxy = AsVariableProxy(); in IsUndefinedLiteral()
189 VariableProxy::VariableProxy(Variable* var, int start_position) in VariableProxy() function in v8::internal::VariableProxy
200 VariableProxy::VariableProxy(const AstRawString* name, in VariableProxy() function in v8::internal::VariableProxy
211 VariableProxy::VariableProxy(const VariableProxy* copy_from) in VariableProxy() function in v8::internal::VariableProxy
219 void VariableProxy::BindTo(Variable* var) { in BindTo()
227 void VariableProxy::AssignFeedbackSlots(FeedbackVectorSpec* spec, in AssignFeedbackSlots()
1058 VariableProxy* proxy = expression()->AsVariableProxy(); in GetCallType()
Dast-numbering.cc40 void VisitVariableProxy(VariableProxy* node, TypeofMode typeof_mode);
41 void VisitVariableProxyReference(VariableProxy* node);
174 void AstNumberingVisitor::VisitVariableProxyReference(VariableProxy* node) { in VisitVariableProxyReference()
187 node->set_base_id(ReserveIdRange(VariableProxy::num_ids())); in VisitVariableProxyReference()
190 void AstNumberingVisitor::VisitVariableProxy(VariableProxy* node, in VisitVariableProxy()
196 void AstNumberingVisitor::VisitVariableProxy(VariableProxy* node) { in VisitVariableProxy()
263 VariableProxy* proxy = node->expression()->AsVariableProxy(); in VisitUnaryOperation()
/external/v8/src/parsing/
Dpreparser.h136 ZoneList<VariableProxy*>* variables = nullptr) {
146 VariableProxy* variable, in FromIdentifier()
175 static PreParserExpression Assignment(ZoneList<VariableProxy*>* variables) { in Assignment()
182 ZoneList<VariableProxy*>* variables) { in ObjectLiteral()
187 static PreParserExpression ArrayLiteral(ZoneList<VariableProxy*>* variables) { in ArrayLiteral()
206 static PreParserExpression This(ZoneList<VariableProxy*>* variables) { in This()
366 ZoneList<VariableProxy*>* variables = nullptr)
369 void AddVariable(VariableProxy* variable, Zone* zone) { in AddVariable()
374 variables_ = new (zone) ZoneList<VariableProxy*>(1, zone); in AddVariable()
401 ZoneList<VariableProxy*>* variables_;
[all …]
Dparameter-initializer-rewriter.cc31 void VisitVariableProxy(VariableProxy* expr);
64 void Rewriter::VisitVariableProxy(VariableProxy* proxy) { in VisitVariableProxy()
Dparser.cc385 VariableProxy* this_function_proxy = in NewSuperPropertyReference()
396 VariableProxy* new_target_proxy = in NewSuperCallReference()
398 VariableProxy* this_function_proxy = in NewSuperCallReference()
414 VariableProxy* generator = in FunctionSentExpression()
1403 VariableProxy* Parser::NewUnresolved(const AstRawString* name, int begin_pos, in NewUnresolved()
1408 VariableProxy* Parser::NewUnresolved(const AstRawString* name) { in NewUnresolved()
1422 VariableProxy* proxy = factory()->NewVariableProxy( in DeclareVariable()
1492 VariableProxy* proxy = in DeclareFunction()
1545 ZoneList<const AstRawString*>* labels, VariableProxy* var, bool* ok) { in DeclareLabel()
1799 VariableProxy* call_proxy = in ParseAndRewriteGeneratorFunctionBody()
[all …]
Drewriter.cc56 VariableProxy* result_proxy = factory()->NewVariableProxy(result_); in SetResult()
394 VariableProxy* result_proxy = in DECLARATION_NODE_LIST()
416 VariableProxy* result = expr->result(); in Rewrite()
Dparser.h336 ZoneList<const AstRawString*>* labels, VariableProxy* expr, bool* ok);
521 VariableProxy* NewUnresolved(const AstRawString* name, int begin_pos,
523 VariableProxy* NewUnresolved(const AstRawString* name);
722 VariableProxy* operand = expression->AsVariableProxy();
731 V8_INLINE VariableProxy* AsIdentifierExpression(Expression* expression) {
Dpreparser.cc314 VariableProxy* proxy = nullptr; in ExpressionFromIdentifier()
Dpattern-rewriter.cc112 void Parser::PatternRewriter::VisitVariableProxy(VariableProxy* pattern) { in VisitVariableProxy()
136 VariableProxy* proxy = in VisitVariableProxy()
/external/v8/src/asmjs/
Dasm-wasm-builder.cc365 VariableProxy* tag, int default_block, int if_depth) { in HandleCase()
430 VariableProxy* tag = stmt->tag()->AsVariableProxy(); in VisitSwitchStatement()
653 void VisitVariableProxy(VariableProxy* expr) { in VisitVariableProxy()
738 VariableProxy* expr = prop->value()->AsVariableProxy(); in VisitObjectLiteral()
772 FunctionTableIndices* LookupOrAddFunctionTable(VariableProxy* table, in LookupOrAddFunctionTable()
813 void PopulateFunctionTable(VariableProxy* table, ArrayLiteral* funcs) { in PopulateFunctionTable()
820 VariableProxy* func = funcs->values()->at(i)->AsVariableProxy(); in PopulateFunctionTable()
890 VariableProxy* target_var = target->AsVariableProxy(); in EmitAssignmentLhs()
935 VariableProxy* target_var = target->AsVariableProxy(); in EmitAssignmentRhs()
936 VariableProxy* effective_value_var = GetLeft(binop)->AsVariableProxy(); in EmitAssignmentRhs()
[all …]
Dasm-typer.h255 void AddForwardReference(VariableProxy* proxy, VariableInfo* info);
278 AsmType* ExportType(VariableProxy* fun_export);
326 AsmType* ValidateIdentifier(VariableProxy* proxy);
/external/v8/src/interpreter/
Dbytecode-generator.cc1254 VariableProxy* proxy = expr->AsVariableProxy(); in VisitForInAssignment()
1516 VariableProxy* proxy = expr->class_variable_proxy(); in VisitClassLiteral()
1910 void BytecodeGenerator::VisitVariableProxy(VariableProxy* proxy) { in VisitVariableProxy()
2261 VariableProxy* proxy = expr->target()->AsVariableProxy(); in VisitAssignment()
2313 VariableProxy* proxy = expr->target()->AsVariableProxy(); in VisitAssignment()
2543 VariableProxy* proxy = callee_expr->AsVariableProxy(); in VisitCall()
2717 VariableProxy* proxy = expr->expression()->AsVariableProxy(); in VisitTypeOf()
2780 VariableProxy* proxy = expr->expression()->AsVariableProxy(); in VisitDelete()
2845 VariableProxy* proxy = expr->expression()->AsVariableProxy(); in VisitCountOperation()
2913 VariableProxy* proxy = expr->expression()->AsVariableProxy(); in VisitCountOperation()
/external/v8/src/crankshaft/
Dtyping.cc375 void AstTyper::VisitVariableProxy(VariableProxy* expr) { in VisitVariableProxy()
464 VariableProxy* proxy = expr->target()->AsVariableProxy(); in VisitAssignment()
619 VariableProxy* proxy = expr->expression()->AsVariableProxy(); in VisitCountOperation()
/external/v8/src/full-codegen/x64/
Dfull-codegen-x64.cc720 VariableProxy* proxy = declaration->proxy(); in VisitVariableDeclaration()
762 VariableProxy* proxy = declaration->proxy(); in VisitFunctionDeclaration()
1108 void FullCodeGenerator::EmitVariableLoad(VariableProxy* proxy, in EmitVariableLoad()
1448 VariableProxy* proxy = expr->target()->AsVariableProxy(); in VisitAssignment()
1592 VariableProxy* proxy = expr->AsVariableProxy(); in EmitAssignment()
2148 VariableProxy* proxy = expr->expression()->AsVariableProxy(); in VisitUnaryOperation()
2400 VariableProxy* proxy = expr->expression()->AsVariableProxy(); in VisitCountOperation()
/external/v8/src/full-codegen/ia32/
Dfull-codegen-ia32.cc704 VariableProxy* proxy = declaration->proxy(); in VisitVariableDeclaration()
746 VariableProxy* proxy = declaration->proxy(); in VisitFunctionDeclaration()
1077 void FullCodeGenerator::EmitVariableLoad(VariableProxy* proxy, in EmitVariableLoad()
1419 VariableProxy* proxy = expr->target()->AsVariableProxy(); in VisitAssignment()
1598 VariableProxy* proxy = expr->AsVariableProxy(); in EmitAssignment()
2159 VariableProxy* proxy = expr->expression()->AsVariableProxy(); in VisitUnaryOperation()
2413 VariableProxy* proxy = expr->expression()->AsVariableProxy(); in VisitCountOperation()
/external/v8/src/full-codegen/x87/
Dfull-codegen-x87.cc699 VariableProxy* proxy = declaration->proxy(); in VisitVariableDeclaration()
740 VariableProxy* proxy = declaration->proxy(); in VisitFunctionDeclaration()
1067 void FullCodeGenerator::EmitVariableLoad(VariableProxy* proxy, in EmitVariableLoad()
1409 VariableProxy* proxy = expr->target()->AsVariableProxy(); in VisitAssignment()
1588 VariableProxy* proxy = expr->AsVariableProxy(); in EmitAssignment()
2149 VariableProxy* proxy = expr->expression()->AsVariableProxy(); in VisitUnaryOperation()
2403 VariableProxy* proxy = expr->expression()->AsVariableProxy(); in VisitCountOperation()
/external/v8/src/full-codegen/
Dfull-codegen.h437 void EmitGlobalVariableLoad(VariableProxy* proxy, TypeofMode typeof_mode);
438 void EmitVariableLoad(VariableProxy* proxy,
/external/v8/src/compiler/
Dast-loop-assignment-analyzer.cc65 void ALAA::VisitVariableProxy(VariableProxy* leaf) {} in VisitVariableProxy()
/external/v8/src/full-codegen/mips64/
Dfull-codegen-mips64.cc755 VariableProxy* proxy = declaration->proxy(); in VisitVariableDeclaration()
797 VariableProxy* proxy = declaration->proxy(); in VisitFunctionDeclaration()
1150 void FullCodeGenerator::EmitVariableLoad(VariableProxy* proxy, in EmitVariableLoad()
1498 VariableProxy* proxy = expr->target()->AsVariableProxy(); in VisitAssignment()
1687 VariableProxy* proxy = expr->AsVariableProxy(); in EmitAssignment()
2262 VariableProxy* proxy = expr->expression()->AsVariableProxy(); in VisitUnaryOperation()
2505 VariableProxy* proxy = expr->expression()->AsVariableProxy(); in VisitCountOperation()
/external/v8/src/full-codegen/arm/
Dfull-codegen-arm.cc756 VariableProxy* proxy = declaration->proxy(); in VisitVariableDeclaration()
798 VariableProxy* proxy = declaration->proxy(); in VisitFunctionDeclaration()
1149 void FullCodeGenerator::EmitVariableLoad(VariableProxy* proxy, in EmitVariableLoad()
1493 VariableProxy* proxy = expr->target()->AsVariableProxy(); in VisitAssignment()
1673 VariableProxy* proxy = expr->AsVariableProxy(); in EmitAssignment()
2238 VariableProxy* proxy = expr->expression()->AsVariableProxy(); in VisitUnaryOperation()
2480 VariableProxy* proxy = expr->expression()->AsVariableProxy(); in VisitCountOperation()
/external/v8/src/full-codegen/s390/
Dfull-codegen-s390.cc696 VariableProxy* proxy = declaration->proxy(); in VisitVariableDeclaration()
737 VariableProxy* proxy = declaration->proxy(); in VisitFunctionDeclaration()
1086 void FullCodeGenerator::EmitVariableLoad(VariableProxy* proxy, in EmitVariableLoad()
1423 VariableProxy* proxy = expr->target()->AsVariableProxy(); in VisitAssignment()
1656 VariableProxy* proxy = expr->AsVariableProxy(); in EmitAssignment()
2204 VariableProxy* proxy = expr->expression()->AsVariableProxy(); in VisitUnaryOperation()
2443 VariableProxy* proxy = expr->expression()->AsVariableProxy(); in VisitCountOperation()

12