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 2524 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2535 DECLARE_CONCRETE_INSTRUCTION(LoadFieldByIndex, "load-field-by-index") | 2535 DECLARE_CONCRETE_INSTRUCTION(LoadFieldByIndex, "load-field-by-index") |
2536 }; | 2536 }; |
2537 | 2537 |
2538 | 2538 |
2539 class LChunkBuilder; | 2539 class LChunkBuilder; |
2540 class LPlatformChunk V8_FINAL : public LChunk { | 2540 class LPlatformChunk V8_FINAL : public LChunk { |
2541 public: | 2541 public: |
2542 LPlatformChunk(CompilationInfo* info, HGraph* graph) | 2542 LPlatformChunk(CompilationInfo* info, HGraph* graph) |
2543 : LChunk(info, graph) { } | 2543 : LChunk(info, graph) { } |
2544 | 2544 |
2545 int GetNextSpillIndex(bool is_double); | 2545 int GetNextSpillIndex(RegisterKind kind); |
2546 LOperand* GetNextSpillSlot(bool is_double); | 2546 LOperand* GetNextSpillSlot(RegisterKind kind); |
2547 }; | 2547 }; |
2548 | 2548 |
2549 | 2549 |
2550 class LChunkBuilder V8_FINAL BASE_EMBEDDED { | 2550 class LChunkBuilder V8_FINAL BASE_EMBEDDED { |
2551 public: | 2551 public: |
2552 LChunkBuilder(CompilationInfo* info, HGraph* graph, LAllocator* allocator) | 2552 LChunkBuilder(CompilationInfo* info, HGraph* graph, LAllocator* allocator) |
2553 : chunk_(NULL), | 2553 : chunk_(NULL), |
2554 info_(info), | 2554 info_(info), |
2555 graph_(graph), | 2555 graph_(graph), |
2556 zone_(graph->zone()), | 2556 zone_(graph->zone()), |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2717 | 2717 |
2718 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2718 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2719 }; | 2719 }; |
2720 | 2720 |
2721 #undef DECLARE_HYDROGEN_ACCESSOR | 2721 #undef DECLARE_HYDROGEN_ACCESSOR |
2722 #undef DECLARE_CONCRETE_INSTRUCTION | 2722 #undef DECLARE_CONCRETE_INSTRUCTION |
2723 | 2723 |
2724 } } // namespace v8::int | 2724 } } // namespace v8::int |
2725 | 2725 |
2726 #endif // V8_X64_LITHIUM_X64_H_ | 2726 #endif // V8_X64_LITHIUM_X64_H_ |
OLD | NEW |