| OLD | NEW |
| 1 // Copyright 2008 the V8 project authors. All rights reserved. | 1 // Copyright 2008 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 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 331 int local_count_; | 331 int local_count_; |
| 332 | 332 |
| 333 // The index of the element that is at the processor's stack pointer | 333 // The index of the element that is at the processor's stack pointer |
| 334 // (the sp register). | 334 // (the sp register). |
| 335 int stack_pointer_; | 335 int stack_pointer_; |
| 336 | 336 |
| 337 // The index of the element that is at the processor's frame pointer | 337 // The index of the element that is at the processor's frame pointer |
| 338 // (the fp register). | 338 // (the fp register). |
| 339 int frame_pointer_; | 339 int frame_pointer_; |
| 340 | 340 |
| 341 // The index of the register frame element using each register, or |
| 342 // kIllegalIndex if a register is not on the frame. |
| 343 int register_locations_[kNumRegisters]; |
| 344 |
| 341 // The frame has an embedded register file that it uses to track registers | 345 // The frame has an embedded register file that it uses to track registers |
| 342 // used in the frame. | 346 // used in the frame. |
| 343 RegisterFile frame_registers_; | 347 RegisterFile frame_registers_; |
| 344 | 348 |
| 345 // The index of the first parameter. The receiver lies below the first | 349 // The index of the first parameter. The receiver lies below the first |
| 346 // parameter. | 350 // parameter. |
| 347 int param0_index() const { return 1; } | 351 int param0_index() const { return 1; } |
| 348 | 352 |
| 349 // The index of the context slot in the frame. | 353 // The index of the context slot in the frame. |
| 350 int context_index() const { | 354 int context_index() const { |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 458 | 462 |
| 459 bool Equals(VirtualFrame* other); | 463 bool Equals(VirtualFrame* other); |
| 460 | 464 |
| 461 friend class JumpTarget; | 465 friend class JumpTarget; |
| 462 }; | 466 }; |
| 463 | 467 |
| 464 | 468 |
| 465 } } // namespace v8::internal | 469 } } // namespace v8::internal |
| 466 | 470 |
| 467 #endif // V8_VIRTUAL_FRAME_ARM_H_ | 471 #endif // V8_VIRTUAL_FRAME_ARM_H_ |
| OLD | NEW |