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 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
284 virtual LOperand* InputAt(int i) = 0; | 284 virtual LOperand* InputAt(int i) = 0; |
285 | 285 |
286 friend class TempIterator; | 286 friend class TempIterator; |
287 virtual int TempCount() = 0; | 287 virtual int TempCount() = 0; |
288 virtual LOperand* TempAt(int i) = 0; | 288 virtual LOperand* TempAt(int i) = 0; |
289 | 289 |
290 LEnvironment* environment_; | 290 LEnvironment* environment_; |
291 SetOncePointer<LPointerMap> pointer_map_; | 291 SetOncePointer<LPointerMap> pointer_map_; |
292 HValue* hydrogen_value_; | 292 HValue* hydrogen_value_; |
293 bool is_call_; | 293 bool is_call_; |
294 bool is_save_doubles_; | |
295 }; | 294 }; |
296 | 295 |
297 | 296 |
298 // R = number of result operands (0 or 1). | 297 // R = number of result operands (0 or 1). |
299 // I = number of input operands. | 298 // I = number of input operands. |
300 // T = number of temporary operands. | 299 // T = number of temporary operands. |
301 template<int R, int I, int T> | 300 template<int R, int I, int T> |
302 class LTemplateInstruction: public LInstruction { | 301 class LTemplateInstruction: public LInstruction { |
303 public: | 302 public: |
304 // Allow 0 or 1 output operands. | 303 // Allow 0 or 1 output operands. |
(...skipping 2385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2690 | 2689 |
2691 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2690 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2692 }; | 2691 }; |
2693 | 2692 |
2694 #undef DECLARE_HYDROGEN_ACCESSOR | 2693 #undef DECLARE_HYDROGEN_ACCESSOR |
2695 #undef DECLARE_CONCRETE_INSTRUCTION | 2694 #undef DECLARE_CONCRETE_INSTRUCTION |
2696 | 2695 |
2697 } } // namespace v8::internal | 2696 } } // namespace v8::internal |
2698 | 2697 |
2699 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2698 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
OLD | NEW |