Home
last modified time | relevance | path

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

/external/v8/src/ast/
Dvariables.h43 location() == VariableLocation::MODULE); in ForceContextAllocation()
59 return location() == VariableLocation::UNALLOCATED; in IsUnallocated()
61 bool IsParameter() const { return location() == VariableLocation::PARAMETER; } in IsParameter()
62 bool IsStackLocal() const { return location() == VariableLocation::LOCAL; } in IsStackLocal()
64 bool IsContextSlot() const { return location() == VariableLocation::CONTEXT; } in IsContextSlot()
65 bool IsLookupSlot() const { return location() == VariableLocation::LOOKUP; } in IsLookupSlot()
93 VariableLocation location() const { in location()
104 DCHECK_EQ(location(), VariableLocation::MODULE); in IsExport()
109 void AllocateTo(VariableLocation location, int index) { in AllocateTo()
112 DCHECK_IMPLIES(location == VariableLocation::MODULE, index != 0); in AllocateTo()
[all …]
Dscopes.cc894 VariableLocation location; in LookupInScopeInfo()
901 location = VariableLocation::CONTEXT; in LookupInScopeInfo()
908 location = VariableLocation::MODULE; in LookupInScopeInfo()
919 var->AllocateTo(VariableLocation::CONTEXT, index); in LookupInScopeInfo()
924 if (location == VariableLocation::CONTEXT && in LookupInScopeInfo()
1050 var->AllocateTo(VariableLocation::LOOKUP, -1); in DeclareVariable()
1540 case VariableLocation::UNALLOCATED: in PrintLocation()
1542 case VariableLocation::PARAMETER: in PrintLocation()
1545 case VariableLocation::LOCAL: in PrintLocation()
1548 case VariableLocation::CONTEXT: in PrintLocation()
[all …]
Dvariables.cc30 LocationField::encode(VariableLocation::UNALLOCATED) | in Variable()
Dprettyprinter.cc1068 case VariableLocation::UNALLOCATED: in VisitVariableProxy()
1071 case VariableLocation::PARAMETER: in VisitVariableProxy()
1074 case VariableLocation::LOCAL: in VisitVariableProxy()
1077 case VariableLocation::CONTEXT: in VisitVariableProxy()
1080 case VariableLocation::LOOKUP: in VisitVariableProxy()
1083 case VariableLocation::MODULE: in VisitVariableProxy()
Dast-numbering.cc177 case VariableLocation::LOOKUP: in VisitVariableProxyReference()
181 case VariableLocation::MODULE: in VisitVariableProxyReference()
/external/v8/src/compiler/
Dast-graph-builder.cc931 case VariableLocation::UNALLOCATED: { in VisitVariableDeclaration()
941 case VariableLocation::PARAMETER: in VisitVariableDeclaration()
942 case VariableLocation::LOCAL: in VisitVariableDeclaration()
948 case VariableLocation::CONTEXT: in VisitVariableDeclaration()
955 case VariableLocation::LOOKUP: in VisitVariableDeclaration()
956 case VariableLocation::MODULE: in VisitVariableDeclaration()
965 case VariableLocation::UNALLOCATED: { in VisitFunctionDeclaration()
983 case VariableLocation::PARAMETER: in VisitFunctionDeclaration()
984 case VariableLocation::LOCAL: { in VisitFunctionDeclaration()
990 case VariableLocation::CONTEXT: { in VisitFunctionDeclaration()
[all …]
/external/v8/src/interpreter/
Dbytecode-generator.cc887 case VariableLocation::UNALLOCATED: { in VisitVariableDeclaration()
893 case VariableLocation::LOCAL: in VisitVariableDeclaration()
899 case VariableLocation::PARAMETER: in VisitVariableDeclaration()
907 case VariableLocation::CONTEXT: in VisitVariableDeclaration()
914 case VariableLocation::LOOKUP: { in VisitVariableDeclaration()
926 case VariableLocation::MODULE: in VisitVariableDeclaration()
941 case VariableLocation::UNALLOCATED: { in VisitFunctionDeclaration()
948 case VariableLocation::PARAMETER: in VisitFunctionDeclaration()
949 case VariableLocation::LOCAL: { in VisitFunctionDeclaration()
955 case VariableLocation::CONTEXT: { in VisitFunctionDeclaration()
[all …]
/external/v8/src/full-codegen/x64/
Dfull-codegen-x64.cc723 case VariableLocation::UNALLOCATED: { in VisitVariableDeclaration()
733 case VariableLocation::PARAMETER: in VisitVariableDeclaration()
734 case VariableLocation::LOCAL: in VisitVariableDeclaration()
742 case VariableLocation::CONTEXT: in VisitVariableDeclaration()
753 case VariableLocation::LOOKUP: in VisitVariableDeclaration()
754 case VariableLocation::MODULE: in VisitVariableDeclaration()
765 case VariableLocation::UNALLOCATED: { in VisitFunctionDeclaration()
784 case VariableLocation::PARAMETER: in VisitFunctionDeclaration()
785 case VariableLocation::LOCAL: { in VisitFunctionDeclaration()
792 case VariableLocation::CONTEXT: { in VisitFunctionDeclaration()
[all …]
/external/v8/src/full-codegen/ia32/
Dfull-codegen-ia32.cc707 case VariableLocation::UNALLOCATED: { in VisitVariableDeclaration()
717 case VariableLocation::PARAMETER: in VisitVariableDeclaration()
718 case VariableLocation::LOCAL: in VisitVariableDeclaration()
726 case VariableLocation::CONTEXT: in VisitVariableDeclaration()
737 case VariableLocation::LOOKUP: in VisitVariableDeclaration()
738 case VariableLocation::MODULE: in VisitVariableDeclaration()
749 case VariableLocation::UNALLOCATED: { in VisitFunctionDeclaration()
768 case VariableLocation::PARAMETER: in VisitFunctionDeclaration()
769 case VariableLocation::LOCAL: { in VisitFunctionDeclaration()
776 case VariableLocation::CONTEXT: { in VisitFunctionDeclaration()
[all …]
/external/v8/src/full-codegen/x87/
Dfull-codegen-x87.cc702 case VariableLocation::UNALLOCATED: { in VisitVariableDeclaration()
712 case VariableLocation::PARAMETER: in VisitVariableDeclaration()
713 case VariableLocation::LOCAL: in VisitVariableDeclaration()
721 case VariableLocation::CONTEXT: in VisitVariableDeclaration()
732 case VariableLocation::LOOKUP: in VisitVariableDeclaration()
733 case VariableLocation::MODULE: in VisitVariableDeclaration()
743 case VariableLocation::UNALLOCATED: { in VisitFunctionDeclaration()
762 case VariableLocation::PARAMETER: in VisitFunctionDeclaration()
763 case VariableLocation::LOCAL: { in VisitFunctionDeclaration()
770 case VariableLocation::CONTEXT: { in VisitFunctionDeclaration()
[all …]
/external/v8/src/objects/
Dscope-info.cc74 case VariableLocation::LOCAL: in Create()
78 case VariableLocation::CONTEXT: in Create()
81 case VariableLocation::MODULE: in Create()
206 case VariableLocation::LOCAL: { in Create()
213 case VariableLocation::CONTEXT: { in Create()
227 case VariableLocation::MODULE: { in Create()
Dscope-info.h293 VariableLocation* location, InitializationFlag* init_flag,
/external/v8/src/full-codegen/mips64/
Dfull-codegen-mips64.cc758 case VariableLocation::UNALLOCATED: { in VisitVariableDeclaration()
768 case VariableLocation::PARAMETER: in VisitVariableDeclaration()
769 case VariableLocation::LOCAL: in VisitVariableDeclaration()
777 case VariableLocation::CONTEXT: in VisitVariableDeclaration()
788 case VariableLocation::LOOKUP: in VisitVariableDeclaration()
789 case VariableLocation::MODULE: in VisitVariableDeclaration()
800 case VariableLocation::UNALLOCATED: { in VisitFunctionDeclaration()
819 case VariableLocation::PARAMETER: in VisitFunctionDeclaration()
820 case VariableLocation::LOCAL: { in VisitFunctionDeclaration()
827 case VariableLocation::CONTEXT: { in VisitFunctionDeclaration()
[all …]
/external/v8/src/full-codegen/arm/
Dfull-codegen-arm.cc759 case VariableLocation::UNALLOCATED: { in VisitVariableDeclaration()
769 case VariableLocation::PARAMETER: in VisitVariableDeclaration()
770 case VariableLocation::LOCAL: in VisitVariableDeclaration()
778 case VariableLocation::CONTEXT: in VisitVariableDeclaration()
789 case VariableLocation::LOOKUP: in VisitVariableDeclaration()
790 case VariableLocation::MODULE: in VisitVariableDeclaration()
801 case VariableLocation::UNALLOCATED: { in VisitFunctionDeclaration()
820 case VariableLocation::PARAMETER: in VisitFunctionDeclaration()
821 case VariableLocation::LOCAL: { in VisitFunctionDeclaration()
828 case VariableLocation::CONTEXT: { in VisitFunctionDeclaration()
[all …]
/external/v8/src/full-codegen/s390/
Dfull-codegen-s390.cc699 case VariableLocation::UNALLOCATED: { in VisitVariableDeclaration()
709 case VariableLocation::PARAMETER: in VisitVariableDeclaration()
710 case VariableLocation::LOCAL: in VisitVariableDeclaration()
718 case VariableLocation::CONTEXT: in VisitVariableDeclaration()
729 case VariableLocation::LOOKUP: in VisitVariableDeclaration()
730 case VariableLocation::MODULE: in VisitVariableDeclaration()
740 case VariableLocation::UNALLOCATED: { in VisitFunctionDeclaration()
759 case VariableLocation::PARAMETER: in VisitFunctionDeclaration()
760 case VariableLocation::LOCAL: { in VisitFunctionDeclaration()
767 case VariableLocation::CONTEXT: { in VisitFunctionDeclaration()
[all …]
/external/v8/src/full-codegen/ppc/
Dfull-codegen-ppc.cc726 case VariableLocation::UNALLOCATED: { in VisitVariableDeclaration()
736 case VariableLocation::PARAMETER: in VisitVariableDeclaration()
737 case VariableLocation::LOCAL: in VisitVariableDeclaration()
745 case VariableLocation::CONTEXT: in VisitVariableDeclaration()
756 case VariableLocation::LOOKUP: in VisitVariableDeclaration()
757 case VariableLocation::MODULE: in VisitVariableDeclaration()
768 case VariableLocation::UNALLOCATED: { in VisitFunctionDeclaration()
787 case VariableLocation::PARAMETER: in VisitFunctionDeclaration()
788 case VariableLocation::LOCAL: { in VisitFunctionDeclaration()
795 case VariableLocation::CONTEXT: { in VisitFunctionDeclaration()
[all …]
/external/v8/src/full-codegen/mips/
Dfull-codegen-mips.cc758 case VariableLocation::UNALLOCATED: { in VisitVariableDeclaration()
768 case VariableLocation::PARAMETER: in VisitVariableDeclaration()
769 case VariableLocation::LOCAL: in VisitVariableDeclaration()
777 case VariableLocation::CONTEXT: in VisitVariableDeclaration()
788 case VariableLocation::LOOKUP: in VisitVariableDeclaration()
789 case VariableLocation::MODULE: in VisitVariableDeclaration()
800 case VariableLocation::UNALLOCATED: { in VisitFunctionDeclaration()
819 case VariableLocation::PARAMETER: in VisitFunctionDeclaration()
820 case VariableLocation::LOCAL: { in VisitFunctionDeclaration()
827 case VariableLocation::CONTEXT: { in VisitFunctionDeclaration()
[all …]
/external/v8/src/full-codegen/arm64/
Dfull-codegen-arm64.cc754 case VariableLocation::UNALLOCATED: { in VisitVariableDeclaration()
764 case VariableLocation::PARAMETER: in VisitVariableDeclaration()
765 case VariableLocation::LOCAL: in VisitVariableDeclaration()
773 case VariableLocation::CONTEXT: in VisitVariableDeclaration()
784 case VariableLocation::LOOKUP: in VisitVariableDeclaration()
785 case VariableLocation::MODULE: in VisitVariableDeclaration()
796 case VariableLocation::UNALLOCATED: { in VisitFunctionDeclaration()
815 case VariableLocation::PARAMETER: in VisitFunctionDeclaration()
816 case VariableLocation::LOCAL: { in VisitFunctionDeclaration()
823 case VariableLocation::CONTEXT: { in VisitFunctionDeclaration()
[all …]
/external/v8/src/crankshaft/
Dhydrogen.cc5243 case VariableLocation::UNALLOCATED: { in VisitVariableProxy()
5307 case VariableLocation::PARAMETER: in VisitVariableProxy()
5308 case VariableLocation::LOCAL: { in VisitVariableProxy()
5318 case VariableLocation::CONTEXT: { in VisitVariableProxy()
5335 case VariableLocation::LOOKUP: in VisitVariableProxy()
5338 case VariableLocation::MODULE: in VisitVariableProxy()
6609 case VariableLocation::UNALLOCATED: in HandleCompoundAssignment()
6614 case VariableLocation::PARAMETER: in HandleCompoundAssignment()
6615 case VariableLocation::LOCAL: in HandleCompoundAssignment()
6622 case VariableLocation::CONTEXT: { in HandleCompoundAssignment()
[all …]
/external/v8/src/
Dglobals.h1010 enum VariableLocation : uint8_t { enum
/external/v8/src/asmjs/
Dasm-wasm-builder.cc1075 DCHECK(VariableLocation::PARAMETER == in VisitForeignVariable()
Dasm-typer.cc1152 if (param->location() != VariableLocation::PARAMETER || in ValidateFunction()
/external/v8/src/parsing/
Dparser.cc698 var->AllocateTo(VariableLocation::PARAMETER, 0); in DoParseProgram()