| 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 RegisterAllocationScope() {} | 99 RegisterAllocationScope() {} |
| 100 }; | 100 }; |
| 101 | 101 |
| 102 // An illegal index into the virtual frame. | 102 // An illegal index into the virtual frame. |
| 103 static const int kIllegalIndex = -1; | 103 static const int kIllegalIndex = -1; |
| 104 | 104 |
| 105 // Construct an initial virtual frame on entry to a JS function. | 105 // Construct an initial virtual frame on entry to a JS function. |
| 106 inline VirtualFrame(); | 106 inline VirtualFrame(); |
| 107 | 107 |
| 108 // Construct an invalid virtual frame, used by JumpTargets. | 108 // Construct an invalid virtual frame, used by JumpTargets. |
| 109 inline VirtualFrame(InvalidVirtualFrameInitializer* dummy); | 109 explicit inline VirtualFrame(InvalidVirtualFrameInitializer* dummy); |
| 110 | 110 |
| 111 // Construct a virtual frame as a clone of an existing one. | 111 // Construct a virtual frame as a clone of an existing one. |
| 112 explicit inline VirtualFrame(VirtualFrame* original); | 112 explicit inline VirtualFrame(VirtualFrame* original); |
| 113 | 113 |
| 114 inline CodeGenerator* cgen() const; | 114 inline CodeGenerator* cgen() const; |
| 115 inline MacroAssembler* masm(); | 115 inline MacroAssembler* masm(); |
| 116 | 116 |
| 117 // The number of elements on the virtual frame. | 117 // The number of elements on the virtual frame. |
| 118 int element_count() const { return element_count_; } | 118 int element_count() const { return element_count_; } |
| 119 | 119 |
| (...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 521 } | 521 } |
| 522 } | 522 } |
| 523 friend class JumpTarget; | 523 friend class JumpTarget; |
| 524 }; | 524 }; |
| 525 | 525 |
| 526 | 526 |
| 527 } } // namespace v8::internal | 527 } } // namespace v8::internal |
| 528 | 528 |
| 529 #endif // V8_MIPS_VIRTUAL_FRAME_MIPS_H_ | 529 #endif // V8_MIPS_VIRTUAL_FRAME_MIPS_H_ |
| 530 | 530 |
| OLD | NEW |