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 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
365 | 365 |
366 // Takes the top element and puts it in r1. | 366 // Takes the top element and puts it in r1. |
367 void PopToR1(); | 367 void PopToR1(); |
368 | 368 |
369 // Takes the top element and puts it in r0. | 369 // Takes the top element and puts it in r0. |
370 void PopToR0(); | 370 void PopToR0(); |
371 | 371 |
372 // Push an element on top of the expression stack and emit a | 372 // Push an element on top of the expression stack and emit a |
373 // corresponding push instruction. | 373 // corresponding push instruction. |
374 void EmitPush(Register reg); | 374 void EmitPush(Register reg); |
| 375 void EmitPush(Operand operand); |
375 void EmitPush(MemOperand operand); | 376 void EmitPush(MemOperand operand); |
| 377 void EmitPushRoot(Heap::RootListIndex index); |
376 | 378 |
377 // Get a register which is free and which must be immediately used to | 379 // Get a register which is free and which must be immediately used to |
378 // push on the top of the stack. | 380 // push on the top of the stack. |
379 Register GetTOSRegister(); | 381 Register GetTOSRegister(); |
380 | 382 |
381 // Push multiple registers on the stack and the virtual frame | 383 // Push multiple registers on the stack and the virtual frame |
382 // Register are selected by setting bit in src_regs and | 384 // Register are selected by setting bit in src_regs and |
383 // are pushed in decreasing order: r15 .. r0. | 385 // are pushed in decreasing order: r15 .. r0. |
384 void EmitPushMultiple(int count, int src_regs); | 386 void EmitPushMultiple(int count, int src_regs); |
385 | 387 |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
485 inline bool Equals(VirtualFrame* other); | 487 inline bool Equals(VirtualFrame* other); |
486 | 488 |
487 friend class JumpTarget; | 489 friend class JumpTarget; |
488 friend class DeferredCode; | 490 friend class DeferredCode; |
489 }; | 491 }; |
490 | 492 |
491 | 493 |
492 } } // namespace v8::internal | 494 } } // namespace v8::internal |
493 | 495 |
494 #endif // V8_ARM_VIRTUAL_FRAME_ARM_H_ | 496 #endif // V8_ARM_VIRTUAL_FRAME_ARM_H_ |
OLD | NEW |