| 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 512 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 523 | 523 |
| 524 private: | 524 private: |
| 525 static const uint32_t kZapUint32 = 0xbeeddead; | 525 static const uint32_t kZapUint32 = 0xbeeddead; |
| 526 | 526 |
| 527 // Frame_size_ must hold a uint32_t value. It is only a uintptr_t to | 527 // Frame_size_ must hold a uint32_t value. It is only a uintptr_t to |
| 528 // keep the variable-size array frame_content_ of type intptr_t at | 528 // keep the variable-size array frame_content_ of type intptr_t at |
| 529 // the end of the structure aligned. | 529 // the end of the structure aligned. |
| 530 uintptr_t frame_size_; // Number of bytes. | 530 uintptr_t frame_size_; // Number of bytes. |
| 531 JSFunction* function_; | 531 JSFunction* function_; |
| 532 intptr_t registers_[Register::kNumRegisters]; | 532 intptr_t registers_[Register::kNumRegisters]; |
| 533 double double_registers_[DoubleRegister::kNumAllocatableRegisters]; | 533 double double_registers_[DoubleRegister::kNumRegisters]; |
| 534 intptr_t top_; | 534 intptr_t top_; |
| 535 intptr_t pc_; | 535 intptr_t pc_; |
| 536 intptr_t fp_; | 536 intptr_t fp_; |
| 537 intptr_t context_; | 537 intptr_t context_; |
| 538 StackFrame::Type type_; | 538 StackFrame::Type type_; |
| 539 Smi* state_; | 539 Smi* state_; |
| 540 | 540 |
| 541 // Continuation is the PC where the execution continues after | 541 // Continuation is the PC where the execution continues after |
| 542 // deoptimizing. | 542 // deoptimizing. |
| 543 intptr_t continuation_; | 543 intptr_t continuation_; |
| (...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 846 Object** expression_stack_; | 846 Object** expression_stack_; |
| 847 int source_position_; | 847 int source_position_; |
| 848 | 848 |
| 849 friend class Deoptimizer; | 849 friend class Deoptimizer; |
| 850 }; | 850 }; |
| 851 #endif | 851 #endif |
| 852 | 852 |
| 853 } } // namespace v8::internal | 853 } } // namespace v8::internal |
| 854 | 854 |
| 855 #endif // V8_DEOPTIMIZER_H_ | 855 #endif // V8_DEOPTIMIZER_H_ |
| OLD | NEW |