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 477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
488 void StoreDoubleRegister(DoubleRegister reg); | 488 void StoreDoubleRegister(DoubleRegister reg); |
489 void StoreStackSlot(int index); | 489 void StoreStackSlot(int index); |
490 void StoreInt32StackSlot(int index); | 490 void StoreInt32StackSlot(int index); |
491 void StoreDoubleStackSlot(int index); | 491 void StoreDoubleStackSlot(int index); |
492 void StoreLiteral(int literal_id); | 492 void StoreLiteral(int literal_id); |
493 void StoreArgumentsObject(); | 493 void StoreArgumentsObject(); |
494 void MarkDuplicate(); | 494 void MarkDuplicate(); |
495 | 495 |
496 static int NumberOfOperandsFor(Opcode opcode); | 496 static int NumberOfOperandsFor(Opcode opcode); |
497 | 497 |
498 #ifdef OBJECT_PRINT | 498 #if defined(OBJECT_PRINT) || defined(ENABLE_DISASSEMBLER) |
499 static const char* StringFor(Opcode opcode); | 499 static const char* StringFor(Opcode opcode); |
500 #endif | 500 #endif |
501 | 501 |
502 private: | 502 private: |
503 TranslationBuffer* buffer_; | 503 TranslationBuffer* buffer_; |
504 int index_; | 504 int index_; |
505 }; | 505 }; |
506 | 506 |
507 | 507 |
508 // Linked list holding deoptimizing code objects. The deoptimizing code objects | 508 // Linked list holding deoptimizing code objects. The deoptimizing code objects |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
593 | 593 |
594 static SlotRef ComputeSlotForNextArgument(TranslationIterator* iterator, | 594 static SlotRef ComputeSlotForNextArgument(TranslationIterator* iterator, |
595 DeoptimizationInputData* data, | 595 DeoptimizationInputData* data, |
596 JavaScriptFrame* frame); | 596 JavaScriptFrame* frame); |
597 }; | 597 }; |
598 | 598 |
599 | 599 |
600 } } // namespace v8::internal | 600 } } // namespace v8::internal |
601 | 601 |
602 #endif // V8_DEOPTIMIZER_H_ | 602 #endif // V8_DEOPTIMIZER_H_ |
OLD | NEW |