OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 458 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
469 void StoreDoubleRegister(DoubleRegister reg); | 469 void StoreDoubleRegister(DoubleRegister reg); |
470 void StoreStackSlot(int index); | 470 void StoreStackSlot(int index); |
471 void StoreInt32StackSlot(int index); | 471 void StoreInt32StackSlot(int index); |
472 void StoreDoubleStackSlot(int index); | 472 void StoreDoubleStackSlot(int index); |
473 void StoreLiteral(int literal_id); | 473 void StoreLiteral(int literal_id); |
474 void StoreArgumentsObject(); | 474 void StoreArgumentsObject(); |
475 void MarkDuplicate(); | 475 void MarkDuplicate(); |
476 | 476 |
477 static int NumberOfOperandsFor(Opcode opcode); | 477 static int NumberOfOperandsFor(Opcode opcode); |
478 | 478 |
479 #ifdef DEBUG | 479 #ifdef OBJECT_PRINT |
480 static const char* StringFor(Opcode opcode); | 480 static const char* StringFor(Opcode opcode); |
481 #endif | 481 #endif |
482 | 482 |
483 private: | 483 private: |
484 TranslationBuffer* buffer_; | 484 TranslationBuffer* buffer_; |
485 int index_; | 485 int index_; |
486 }; | 486 }; |
487 | 487 |
488 | 488 |
489 // Linked list holding deoptimizing code objects. The deoptimizing code objects | 489 // Linked list holding deoptimizing code objects. The deoptimizing code objects |
(...skipping 12 matching lines...) Expand all Loading... |
502 Handle<Code> code_; | 502 Handle<Code> code_; |
503 | 503 |
504 // Next pointer for linked list. | 504 // Next pointer for linked list. |
505 DeoptimizingCodeListNode* next_; | 505 DeoptimizingCodeListNode* next_; |
506 }; | 506 }; |
507 | 507 |
508 | 508 |
509 } } // namespace v8::internal | 509 } } // namespace v8::internal |
510 | 510 |
511 #endif // V8_DEOPTIMIZER_H_ | 511 #endif // V8_DEOPTIMIZER_H_ |
OLD | NEW |