OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 V(ConstantD) \ | 80 V(ConstantD) \ |
81 V(ConstantI) \ | 81 V(ConstantI) \ |
82 V(ConstantT) \ | 82 V(ConstantT) \ |
83 V(Context) \ | 83 V(Context) \ |
84 V(DeclareGlobals) \ | 84 V(DeclareGlobals) \ |
85 V(DeleteProperty) \ | 85 V(DeleteProperty) \ |
86 V(Deoptimize) \ | 86 V(Deoptimize) \ |
87 V(DivI) \ | 87 V(DivI) \ |
88 V(DoubleToI) \ | 88 V(DoubleToI) \ |
89 V(ElementsKind) \ | 89 V(ElementsKind) \ |
| 90 V(FastLiteral) \ |
90 V(FixedArrayBaseLength) \ | 91 V(FixedArrayBaseLength) \ |
91 V(FunctionLiteral) \ | 92 V(FunctionLiteral) \ |
92 V(GetCachedArrayIndex) \ | 93 V(GetCachedArrayIndex) \ |
93 V(GlobalObject) \ | 94 V(GlobalObject) \ |
94 V(GlobalReceiver) \ | 95 V(GlobalReceiver) \ |
95 V(Goto) \ | 96 V(Goto) \ |
96 V(HasCachedArrayIndexAndBranch) \ | 97 V(HasCachedArrayIndexAndBranch) \ |
97 V(HasInstanceTypeAndBranch) \ | 98 V(HasInstanceTypeAndBranch) \ |
98 V(In) \ | 99 V(In) \ |
99 V(InstanceOf) \ | 100 V(InstanceOf) \ |
(...skipping 23 matching lines...) Expand all Loading... |
123 V(LoadKeyedSpecializedArrayElement) \ | 124 V(LoadKeyedSpecializedArrayElement) \ |
124 V(LoadNamedField) \ | 125 V(LoadNamedField) \ |
125 V(LoadNamedFieldPolymorphic) \ | 126 V(LoadNamedFieldPolymorphic) \ |
126 V(LoadNamedGeneric) \ | 127 V(LoadNamedGeneric) \ |
127 V(MathPowHalf) \ | 128 V(MathPowHalf) \ |
128 V(ModI) \ | 129 V(ModI) \ |
129 V(MulI) \ | 130 V(MulI) \ |
130 V(NumberTagD) \ | 131 V(NumberTagD) \ |
131 V(NumberTagI) \ | 132 V(NumberTagI) \ |
132 V(NumberUntagD) \ | 133 V(NumberUntagD) \ |
133 V(ObjectLiteralFast) \ | 134 V(ObjectLiteral) \ |
134 V(ObjectLiteralGeneric) \ | |
135 V(OsrEntry) \ | 135 V(OsrEntry) \ |
136 V(OuterContext) \ | 136 V(OuterContext) \ |
137 V(Parameter) \ | 137 V(Parameter) \ |
138 V(Power) \ | 138 V(Power) \ |
139 V(Random) \ | 139 V(Random) \ |
140 V(PushArgument) \ | 140 V(PushArgument) \ |
141 V(RegExpLiteral) \ | 141 V(RegExpLiteral) \ |
142 V(Return) \ | 142 V(Return) \ |
143 V(ShiftI) \ | 143 V(ShiftI) \ |
144 V(SmiTag) \ | 144 V(SmiTag) \ |
(...skipping 1839 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1984 class LCheckNonSmi: public LTemplateInstruction<0, 1, 0> { | 1984 class LCheckNonSmi: public LTemplateInstruction<0, 1, 0> { |
1985 public: | 1985 public: |
1986 explicit LCheckNonSmi(LOperand* value) { | 1986 explicit LCheckNonSmi(LOperand* value) { |
1987 inputs_[0] = value; | 1987 inputs_[0] = value; |
1988 } | 1988 } |
1989 | 1989 |
1990 DECLARE_CONCRETE_INSTRUCTION(CheckNonSmi, "check-non-smi") | 1990 DECLARE_CONCRETE_INSTRUCTION(CheckNonSmi, "check-non-smi") |
1991 }; | 1991 }; |
1992 | 1992 |
1993 | 1993 |
| 1994 class LFastLiteral: public LTemplateInstruction<1, 1, 0> { |
| 1995 public: |
| 1996 explicit LFastLiteral(LOperand* context) { |
| 1997 inputs_[0] = context; |
| 1998 } |
| 1999 |
| 2000 LOperand* context() { return inputs_[0]; } |
| 2001 |
| 2002 DECLARE_CONCRETE_INSTRUCTION(FastLiteral, "fast-literal") |
| 2003 DECLARE_HYDROGEN_ACCESSOR(FastLiteral) |
| 2004 }; |
| 2005 |
| 2006 |
1994 class LArrayLiteral: public LTemplateInstruction<1, 1, 0> { | 2007 class LArrayLiteral: public LTemplateInstruction<1, 1, 0> { |
1995 public: | 2008 public: |
1996 explicit LArrayLiteral(LOperand* context) { | 2009 explicit LArrayLiteral(LOperand* context) { |
1997 inputs_[0] = context; | 2010 inputs_[0] = context; |
1998 } | 2011 } |
1999 | 2012 |
2000 LOperand* context() { return inputs_[0]; } | 2013 LOperand* context() { return inputs_[0]; } |
2001 | 2014 |
2002 DECLARE_CONCRETE_INSTRUCTION(ArrayLiteral, "array-literal") | 2015 DECLARE_CONCRETE_INSTRUCTION(ArrayLiteral, "array-literal") |
2003 DECLARE_HYDROGEN_ACCESSOR(ArrayLiteral) | 2016 DECLARE_HYDROGEN_ACCESSOR(ArrayLiteral) |
2004 }; | 2017 }; |
2005 | 2018 |
2006 | 2019 |
2007 class LObjectLiteralFast: public LTemplateInstruction<1, 1, 0> { | 2020 class LObjectLiteral: public LTemplateInstruction<1, 1, 0> { |
2008 public: | 2021 public: |
2009 explicit LObjectLiteralFast(LOperand* context) { | 2022 explicit LObjectLiteral(LOperand* context) { |
2010 inputs_[0] = context; | 2023 inputs_[0] = context; |
2011 } | 2024 } |
2012 | 2025 |
2013 LOperand* context() { return inputs_[0]; } | 2026 LOperand* context() { return inputs_[0]; } |
2014 | 2027 |
2015 DECLARE_CONCRETE_INSTRUCTION(ObjectLiteralFast, "object-literal-fast") | 2028 DECLARE_CONCRETE_INSTRUCTION(ObjectLiteral, "object-literal") |
2016 DECLARE_HYDROGEN_ACCESSOR(ObjectLiteralFast) | 2029 DECLARE_HYDROGEN_ACCESSOR(ObjectLiteral) |
2017 }; | 2030 }; |
2018 | 2031 |
2019 | 2032 |
2020 class LObjectLiteralGeneric: public LTemplateInstruction<1, 1, 0> { | |
2021 public: | |
2022 explicit LObjectLiteralGeneric(LOperand* context) { | |
2023 inputs_[0] = context; | |
2024 } | |
2025 | |
2026 LOperand* context() { return inputs_[0]; } | |
2027 | |
2028 DECLARE_CONCRETE_INSTRUCTION(ObjectLiteralGeneric, "object-literal-generic") | |
2029 DECLARE_HYDROGEN_ACCESSOR(ObjectLiteralGeneric) | |
2030 }; | |
2031 | |
2032 | |
2033 class LRegExpLiteral: public LTemplateInstruction<1, 1, 0> { | 2033 class LRegExpLiteral: public LTemplateInstruction<1, 1, 0> { |
2034 public: | 2034 public: |
2035 explicit LRegExpLiteral(LOperand* context) { | 2035 explicit LRegExpLiteral(LOperand* context) { |
2036 inputs_[0] = context; | 2036 inputs_[0] = context; |
2037 } | 2037 } |
2038 | 2038 |
2039 LOperand* context() { return inputs_[0]; } | 2039 LOperand* context() { return inputs_[0]; } |
2040 | 2040 |
2041 DECLARE_CONCRETE_INSTRUCTION(RegExpLiteral, "regexp-literal") | 2041 DECLARE_CONCRETE_INSTRUCTION(RegExpLiteral, "regexp-literal") |
2042 DECLARE_HYDROGEN_ACCESSOR(RegExpLiteral) | 2042 DECLARE_HYDROGEN_ACCESSOR(RegExpLiteral) |
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2397 | 2397 |
2398 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2398 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2399 }; | 2399 }; |
2400 | 2400 |
2401 #undef DECLARE_HYDROGEN_ACCESSOR | 2401 #undef DECLARE_HYDROGEN_ACCESSOR |
2402 #undef DECLARE_CONCRETE_INSTRUCTION | 2402 #undef DECLARE_CONCRETE_INSTRUCTION |
2403 | 2403 |
2404 } } // namespace v8::internal | 2404 } } // namespace v8::internal |
2405 | 2405 |
2406 #endif // V8_IA32_LITHIUM_IA32_H_ | 2406 #endif // V8_IA32_LITHIUM_IA32_H_ |
OLD | NEW |