| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 789 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 800 | 800 |
| 801 // Push a handle value. | 801 // Push a handle value. |
| 802 void Push(Handle<Object> handle) { push(Immediate(handle)); } | 802 void Push(Handle<Object> handle) { push(Immediate(handle)); } |
| 803 void Push(Smi* smi) { Push(Handle<Smi>(smi, isolate())); } | 803 void Push(Smi* smi) { Push(Handle<Smi>(smi, isolate())); } |
| 804 | 804 |
| 805 Handle<Object> CodeObject() { | 805 Handle<Object> CodeObject() { |
| 806 ASSERT(!code_object_.is_null()); | 806 ASSERT(!code_object_.is_null()); |
| 807 return code_object_; | 807 return code_object_; |
| 808 } | 808 } |
| 809 | 809 |
| 810 // Insert code to verify that the x87 stack has the specified depth (0-7) |
| 811 void VerifyX87StackDepth(uint depth); |
| 810 | 812 |
| 811 // --------------------------------------------------------------------------- | 813 // --------------------------------------------------------------------------- |
| 812 // StatsCounter support | 814 // StatsCounter support |
| 813 | 815 |
| 814 void SetCounter(StatsCounter* counter, int value); | 816 void SetCounter(StatsCounter* counter, int value); |
| 815 void IncrementCounter(StatsCounter* counter, int value); | 817 void IncrementCounter(StatsCounter* counter, int value); |
| 816 void DecrementCounter(StatsCounter* counter, int value); | 818 void DecrementCounter(StatsCounter* counter, int value); |
| 817 void IncrementCounter(Condition cc, StatsCounter* counter, int value); | 819 void IncrementCounter(Condition cc, StatsCounter* counter, int value); |
| 818 void DecrementCounter(Condition cc, StatsCounter* counter, int value); | 820 void DecrementCounter(Condition cc, StatsCounter* counter, int value); |
| 819 | 821 |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1023 } \ | 1025 } \ |
| 1024 masm-> | 1026 masm-> |
| 1025 #else | 1027 #else |
| 1026 #define ACCESS_MASM(masm) masm-> | 1028 #define ACCESS_MASM(masm) masm-> |
| 1027 #endif | 1029 #endif |
| 1028 | 1030 |
| 1029 | 1031 |
| 1030 } } // namespace v8::internal | 1032 } } // namespace v8::internal |
| 1031 | 1033 |
| 1032 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 1034 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
| OLD | NEW |