OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 virtual LOperand* result() = 0; | 233 virtual LOperand* result() = 0; |
234 | 234 |
235 virtual int InputCount() = 0; | 235 virtual int InputCount() = 0; |
236 virtual LOperand* InputAt(int i) = 0; | 236 virtual LOperand* InputAt(int i) = 0; |
237 virtual int TempCount() = 0; | 237 virtual int TempCount() = 0; |
238 virtual LOperand* TempAt(int i) = 0; | 238 virtual LOperand* TempAt(int i) = 0; |
239 | 239 |
240 LOperand* FirstInput() { return InputAt(0); } | 240 LOperand* FirstInput() { return InputAt(0); } |
241 LOperand* Output() { return HasResult() ? result() : NULL; } | 241 LOperand* Output() { return HasResult() ? result() : NULL; } |
242 | 242 |
| 243 #ifdef DEBUG |
| 244 void VerifyCall(); |
| 245 #endif |
| 246 |
243 private: | 247 private: |
244 LEnvironment* environment_; | 248 LEnvironment* environment_; |
245 SetOncePointer<LPointerMap> pointer_map_; | 249 SetOncePointer<LPointerMap> pointer_map_; |
246 HValue* hydrogen_value_; | 250 HValue* hydrogen_value_; |
247 SetOncePointer<LEnvironment> deoptimization_environment_; | 251 SetOncePointer<LEnvironment> deoptimization_environment_; |
248 bool is_call_; | 252 bool is_call_; |
249 bool is_save_doubles_; | 253 bool is_save_doubles_; |
250 }; | 254 }; |
251 | 255 |
252 | 256 |
(...skipping 1713 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1966 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 1970 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
1967 }; | 1971 }; |
1968 | 1972 |
1969 #undef DECLARE_HYDROGEN_ACCESSOR | 1973 #undef DECLARE_HYDROGEN_ACCESSOR |
1970 #undef DECLARE_INSTRUCTION | 1974 #undef DECLARE_INSTRUCTION |
1971 #undef DECLARE_CONCRETE_INSTRUCTION | 1975 #undef DECLARE_CONCRETE_INSTRUCTION |
1972 | 1976 |
1973 } } // namespace v8::internal | 1977 } } // namespace v8::internal |
1974 | 1978 |
1975 #endif // V8_ARM_LITHIUM_ARM_H_ | 1979 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |