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 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
412 | 412 |
413 // Push an element on top of the expression stack and emit a | 413 // Push an element on top of the expression stack and emit a |
414 // corresponding push instruction. | 414 // corresponding push instruction. |
415 void EmitPush(Register reg, | 415 void EmitPush(Register reg, |
416 TypeInfo info = TypeInfo::Unknown()); | 416 TypeInfo info = TypeInfo::Unknown()); |
417 void EmitPush(Operand operand, | 417 void EmitPush(Operand operand, |
418 TypeInfo info = TypeInfo::Unknown()); | 418 TypeInfo info = TypeInfo::Unknown()); |
419 void EmitPush(Immediate immediate, | 419 void EmitPush(Immediate immediate, |
420 TypeInfo info = TypeInfo::Unknown()); | 420 TypeInfo info = TypeInfo::Unknown()); |
421 | 421 |
| 422 inline bool ConstantPoolOverflowed(); |
| 423 |
422 // Push an element on the virtual frame. | 424 // Push an element on the virtual frame. |
423 inline void Push(Register reg, TypeInfo info = TypeInfo::Unknown()); | 425 inline void Push(Register reg, TypeInfo info = TypeInfo::Unknown()); |
424 inline void Push(Handle<Object> value); | 426 inline void Push(Handle<Object> value); |
425 inline void Push(Smi* value); | 427 inline void Push(Smi* value); |
426 | 428 |
427 void PushUntaggedElement(Handle<Object> value); | 429 void PushUntaggedElement(Handle<Object> value); |
428 | 430 |
429 // Pushing a result invalidates it (its contents become owned by the | 431 // Pushing a result invalidates it (its contents become owned by the |
430 // frame). | 432 // frame). |
431 void Push(Result* result) { | 433 void Push(Result* result) { |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
635 inline bool Equals(VirtualFrame* other); | 637 inline bool Equals(VirtualFrame* other); |
636 | 638 |
637 // Classes that need raw access to the elements_ array. | 639 // Classes that need raw access to the elements_ array. |
638 friend class FrameRegisterState; | 640 friend class FrameRegisterState; |
639 friend class JumpTarget; | 641 friend class JumpTarget; |
640 }; | 642 }; |
641 | 643 |
642 } } // namespace v8::internal | 644 } } // namespace v8::internal |
643 | 645 |
644 #endif // V8_IA32_VIRTUAL_FRAME_IA32_H_ | 646 #endif // V8_IA32_VIRTUAL_FRAME_IA32_H_ |
OLD | NEW |