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 577 matching lines...) Loading... |
588 void StoreRegister(Register reg); | 588 void StoreRegister(Register reg); |
589 void StoreInt32Register(Register reg); | 589 void StoreInt32Register(Register reg); |
590 void StoreDoubleRegister(DoubleRegister reg); | 590 void StoreDoubleRegister(DoubleRegister reg); |
591 void StoreStackSlot(int index); | 591 void StoreStackSlot(int index); |
592 void StoreInt32StackSlot(int index); | 592 void StoreInt32StackSlot(int index); |
593 void StoreDoubleStackSlot(int index); | 593 void StoreDoubleStackSlot(int index); |
594 void StoreLiteral(int literal_id); | 594 void StoreLiteral(int literal_id); |
595 void StoreArgumentsObject(); | 595 void StoreArgumentsObject(); |
596 void MarkDuplicate(); | 596 void MarkDuplicate(); |
597 | 597 |
598 Zone* zone() { return zone_; } | 598 Zone* zone() const { return zone_; } |
599 | 599 |
600 static int NumberOfOperandsFor(Opcode opcode); | 600 static int NumberOfOperandsFor(Opcode opcode); |
601 | 601 |
602 #if defined(OBJECT_PRINT) || defined(ENABLE_DISASSEMBLER) | 602 #if defined(OBJECT_PRINT) || defined(ENABLE_DISASSEMBLER) |
603 static const char* StringFor(Opcode opcode); | 603 static const char* StringFor(Opcode opcode); |
604 #endif | 604 #endif |
605 | 605 |
606 private: | 606 private: |
607 TranslationBuffer* buffer_; | 607 TranslationBuffer* buffer_; |
608 int index_; | 608 int index_; |
(...skipping 172 matching lines...) Loading... |
781 Object** expression_stack_; | 781 Object** expression_stack_; |
782 int source_position_; | 782 int source_position_; |
783 | 783 |
784 friend class Deoptimizer; | 784 friend class Deoptimizer; |
785 }; | 785 }; |
786 #endif | 786 #endif |
787 | 787 |
788 } } // namespace v8::internal | 788 } } // namespace v8::internal |
789 | 789 |
790 #endif // V8_DEOPTIMIZER_H_ | 790 #endif // V8_DEOPTIMIZER_H_ |
OLD | NEW |