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 519 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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::kNumAllocatableRegisters]; |
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 #ifdef DEBUG | |
541 Code::Kind kind_; | |
542 #endif | |
543 | 540 |
544 // Continuation is the PC where the execution continues after | 541 // Continuation is the PC where the execution continues after |
545 // deoptimizing. | 542 // deoptimizing. |
546 intptr_t continuation_; | 543 intptr_t continuation_; |
547 | 544 |
548 // This must be at the end of the object as the object is allocated larger | 545 // This must be at the end of the object as the object is allocated larger |
549 // than it's definition indicate to extend this array. | 546 // than it's definition indicate to extend this array. |
550 intptr_t frame_content_[1]; | 547 intptr_t frame_content_[1]; |
551 | 548 |
552 intptr_t* GetFrameSlotPointer(unsigned offset) { | 549 intptr_t* GetFrameSlotPointer(unsigned offset) { |
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
849 Object** expression_stack_; | 846 Object** expression_stack_; |
850 int source_position_; | 847 int source_position_; |
851 | 848 |
852 friend class Deoptimizer; | 849 friend class Deoptimizer; |
853 }; | 850 }; |
854 #endif | 851 #endif |
855 | 852 |
856 } } // namespace v8::internal | 853 } } // namespace v8::internal |
857 | 854 |
858 #endif // V8_DEOPTIMIZER_H_ | 855 #endif // V8_DEOPTIMIZER_H_ |
OLD | NEW |