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 539 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
550 | 550 |
551 private: | 551 private: |
552 static const uint32_t kZapUint32 = 0xbeeddead; | 552 static const uint32_t kZapUint32 = 0xbeeddead; |
553 | 553 |
554 // Frame_size_ must hold a uint32_t value. It is only a uintptr_t to | 554 // Frame_size_ must hold a uint32_t value. It is only a uintptr_t to |
555 // keep the variable-size array frame_content_ of type intptr_t at | 555 // keep the variable-size array frame_content_ of type intptr_t at |
556 // the end of the structure aligned. | 556 // the end of the structure aligned. |
557 uintptr_t frame_size_; // Number of bytes. | 557 uintptr_t frame_size_; // Number of bytes. |
558 JSFunction* function_; | 558 JSFunction* function_; |
559 intptr_t registers_[Register::kNumRegisters]; | 559 intptr_t registers_[Register::kNumRegisters]; |
560 double double_registers_[DoubleRegister::kMaxNumAllocatableRegisters]; | 560 double double_registers_[DoubleRegister::kMaxNumRegisters]; |
561 intptr_t top_; | 561 intptr_t top_; |
562 intptr_t pc_; | 562 intptr_t pc_; |
563 intptr_t fp_; | 563 intptr_t fp_; |
564 intptr_t context_; | 564 intptr_t context_; |
565 StackFrame::Type type_; | 565 StackFrame::Type type_; |
566 Smi* state_; | 566 Smi* state_; |
567 | 567 |
568 // Continuation is the PC where the execution continues after | 568 // Continuation is the PC where the execution continues after |
569 // deoptimizing. | 569 // deoptimizing. |
570 intptr_t continuation_; | 570 intptr_t continuation_; |
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
875 Object** expression_stack_; | 875 Object** expression_stack_; |
876 int source_position_; | 876 int source_position_; |
877 | 877 |
878 friend class Deoptimizer; | 878 friend class Deoptimizer; |
879 }; | 879 }; |
880 #endif | 880 #endif |
881 | 881 |
882 } } // namespace v8::internal | 882 } } // namespace v8::internal |
883 | 883 |
884 #endif // V8_DEOPTIMIZER_H_ | 884 #endif // V8_DEOPTIMIZER_H_ |
OLD | NEW |