| OLD | NEW |
| 1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 2009 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 // generator is being transformed. | 52 // generator is being transformed. |
| 53 class SpilledScope BASE_EMBEDDED { | 53 class SpilledScope BASE_EMBEDDED { |
| 54 public: | 54 public: |
| 55 SpilledScope() {} | 55 SpilledScope() {} |
| 56 }; | 56 }; |
| 57 | 57 |
| 58 // An illegal index into the virtual frame. | 58 // An illegal index into the virtual frame. |
| 59 static const int kIllegalIndex = -1; | 59 static const int kIllegalIndex = -1; |
| 60 | 60 |
| 61 // Construct an initial virtual frame on entry to a JS function. | 61 // Construct an initial virtual frame on entry to a JS function. |
| 62 VirtualFrame(); | 62 inline VirtualFrame(); |
| 63 | 63 |
| 64 // Construct a virtual frame as a clone of an existing one. | 64 // Construct a virtual frame as a clone of an existing one. |
| 65 explicit inline VirtualFrame(VirtualFrame* original); | 65 explicit inline VirtualFrame(VirtualFrame* original); |
| 66 | 66 |
| 67 CodeGenerator* cgen() { return CodeGeneratorScope::Current(); } | 67 CodeGenerator* cgen() { return CodeGeneratorScope::Current(); } |
| 68 MacroAssembler* masm() { return cgen()->masm(); } | 68 MacroAssembler* masm() { return cgen()->masm(); } |
| 69 | 69 |
| 70 // Create a duplicate of an existing valid frame element. | 70 // Create a duplicate of an existing valid frame element. |
| 71 FrameElement CopyElementAt(int index, | 71 FrameElement CopyElementAt(int index, |
| 72 NumberInfo::Type info = NumberInfo::kUnknown); | 72 NumberInfo::Type info = NumberInfo::kUnknown); |
| (...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 504 | 504 |
| 505 // Classes that need raw access to the elements_ array. | 505 // Classes that need raw access to the elements_ array. |
| 506 friend class DeferredCode; | 506 friend class DeferredCode; |
| 507 friend class JumpTarget; | 507 friend class JumpTarget; |
| 508 }; | 508 }; |
| 509 | 509 |
| 510 | 510 |
| 511 } } // namespace v8::internal | 511 } } // namespace v8::internal |
| 512 | 512 |
| 513 #endif // V8_ARM_VIRTUAL_FRAME_ARM_H_ | 513 #endif // V8_ARM_VIRTUAL_FRAME_ARM_H_ |
| OLD | NEW |