/external/v8/src/ast/ |
D | variables.h | 43 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 …]
|
D | scopes.cc | 894 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 …]
|
D | variables.cc | 30 LocationField::encode(VariableLocation::UNALLOCATED) | in Variable()
|
D | prettyprinter.cc | 1068 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()
|
D | ast-numbering.cc | 177 case VariableLocation::LOOKUP: in VisitVariableProxyReference() 181 case VariableLocation::MODULE: in VisitVariableProxyReference()
|
/external/v8/src/compiler/ |
D | ast-graph-builder.cc | 931 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/ |
D | bytecode-generator.cc | 887 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/ |
D | full-codegen-x64.cc | 723 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/ |
D | full-codegen-ia32.cc | 707 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/ |
D | full-codegen-x87.cc | 702 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/ |
D | scope-info.cc | 74 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()
|
D | scope-info.h | 293 VariableLocation* location, InitializationFlag* init_flag,
|
/external/v8/src/full-codegen/mips64/ |
D | full-codegen-mips64.cc | 758 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/ |
D | full-codegen-arm.cc | 759 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/ |
D | full-codegen-s390.cc | 699 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/ |
D | full-codegen-ppc.cc | 726 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/ |
D | full-codegen-mips.cc | 758 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/ |
D | full-codegen-arm64.cc | 754 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/ |
D | hydrogen.cc | 5243 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/ |
D | globals.h | 1010 enum VariableLocation : uint8_t { enum
|
/external/v8/src/asmjs/ |
D | asm-wasm-builder.cc | 1075 DCHECK(VariableLocation::PARAMETER == in VisitForeignVariable()
|
D | asm-typer.cc | 1152 if (param->location() != VariableLocation::PARAMETER || in ValidateFunction()
|
/external/v8/src/parsing/ |
D | parser.cc | 698 var->AllocateTo(VariableLocation::PARAMETER, 0); in DoParseProgram()
|