| 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 403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 414 void EmitPush(Register reg, | 414 void EmitPush(Register reg, |
| 415 TypeInfo info = TypeInfo::Unknown()); | 415 TypeInfo info = TypeInfo::Unknown()); |
| 416 void EmitPush(Operand operand, | 416 void EmitPush(Operand operand, |
| 417 TypeInfo info = TypeInfo::Unknown()); | 417 TypeInfo info = TypeInfo::Unknown()); |
| 418 void EmitPush(Immediate immediate, | 418 void EmitPush(Immediate immediate, |
| 419 TypeInfo info = TypeInfo::Unknown()); | 419 TypeInfo info = TypeInfo::Unknown()); |
| 420 | 420 |
| 421 inline bool ConstantPoolOverflowed(); | 421 inline bool ConstantPoolOverflowed(); |
| 422 | 422 |
| 423 // Push an element on the virtual frame. | 423 // Push an element on the virtual frame. |
| 424 void Push(Handle<Object> value); |
| 424 inline void Push(Register reg, TypeInfo info = TypeInfo::Unknown()); | 425 inline void Push(Register reg, TypeInfo info = TypeInfo::Unknown()); |
| 425 inline void Push(Handle<Object> value); | |
| 426 inline void Push(Smi* value); | 426 inline void Push(Smi* value); |
| 427 | 427 |
| 428 void PushUntaggedElement(Handle<Object> value); | 428 void PushUntaggedElement(Handle<Object> value); |
| 429 | 429 |
| 430 // Pushing a result invalidates it (its contents become owned by the | 430 // Pushing a result invalidates it (its contents become owned by the |
| 431 // frame). | 431 // frame). |
| 432 void Push(Result* result) { | 432 void Push(Result* result) { |
| 433 // This assert will trigger if you try to push the same value twice. | 433 // This assert will trigger if you try to push the same value twice. |
| 434 ASSERT(result->is_valid()); | 434 ASSERT(result->is_valid()); |
| 435 if (result->is_register()) { | 435 if (result->is_register()) { |
| (...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 636 inline bool Equals(VirtualFrame* other); | 636 inline bool Equals(VirtualFrame* other); |
| 637 | 637 |
| 638 // Classes that need raw access to the elements_ array. | 638 // Classes that need raw access to the elements_ array. |
| 639 friend class FrameRegisterState; | 639 friend class FrameRegisterState; |
| 640 friend class JumpTarget; | 640 friend class JumpTarget; |
| 641 }; | 641 }; |
| 642 | 642 |
| 643 } } // namespace v8::internal | 643 } } // namespace v8::internal |
| 644 | 644 |
| 645 #endif // V8_IA32_VIRTUAL_FRAME_IA32_H_ | 645 #endif // V8_IA32_VIRTUAL_FRAME_IA32_H_ |
| OLD | NEW |