| 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 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 484 void StoreDoubleRegister(DoubleRegister reg); | 484 void StoreDoubleRegister(DoubleRegister reg); |
| 485 void StoreStackSlot(int index); | 485 void StoreStackSlot(int index); |
| 486 void StoreInt32StackSlot(int index); | 486 void StoreInt32StackSlot(int index); |
| 487 void StoreDoubleStackSlot(int index); | 487 void StoreDoubleStackSlot(int index); |
| 488 void StoreLiteral(int literal_id); | 488 void StoreLiteral(int literal_id); |
| 489 void StoreArgumentsObject(); | 489 void StoreArgumentsObject(); |
| 490 void MarkDuplicate(); | 490 void MarkDuplicate(); |
| 491 | 491 |
| 492 static int NumberOfOperandsFor(Opcode opcode); | 492 static int NumberOfOperandsFor(Opcode opcode); |
| 493 | 493 |
| 494 #ifdef DEBUG | 494 #ifdef OBJECT_PRINT |
| 495 static const char* StringFor(Opcode opcode); | 495 static const char* StringFor(Opcode opcode); |
| 496 #endif | 496 #endif |
| 497 | 497 |
| 498 private: | 498 private: |
| 499 TranslationBuffer* buffer_; | 499 TranslationBuffer* buffer_; |
| 500 int index_; | 500 int index_; |
| 501 }; | 501 }; |
| 502 | 502 |
| 503 | 503 |
| 504 // Linked list holding deoptimizing code objects. The deoptimizing code objects | 504 // Linked list holding deoptimizing code objects. The deoptimizing code objects |
| (...skipping 12 matching lines...) Expand all Loading... |
| 517 Handle<Code> code_; | 517 Handle<Code> code_; |
| 518 | 518 |
| 519 // Next pointer for linked list. | 519 // Next pointer for linked list. |
| 520 DeoptimizingCodeListNode* next_; | 520 DeoptimizingCodeListNode* next_; |
| 521 }; | 521 }; |
| 522 | 522 |
| 523 | 523 |
| 524 } } // namespace v8::internal | 524 } } // namespace v8::internal |
| 525 | 525 |
| 526 #endif // V8_DEOPTIMIZER_H_ | 526 #endif // V8_DEOPTIMIZER_H_ |
| OLD | NEW |