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 790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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) | 810 // Insert code to verify that the x87 stack has the specified depth (0-7) |
811 void VerifyX87StackDepth(uint depth); | 811 void VerifyX87StackDepth(uint32_t depth); |
812 | 812 |
813 // --------------------------------------------------------------------------- | 813 // --------------------------------------------------------------------------- |
814 // StatsCounter support | 814 // StatsCounter support |
815 | 815 |
816 void SetCounter(StatsCounter* counter, int value); | 816 void SetCounter(StatsCounter* counter, int value); |
817 void IncrementCounter(StatsCounter* counter, int value); | 817 void IncrementCounter(StatsCounter* counter, int value); |
818 void DecrementCounter(StatsCounter* counter, int value); | 818 void DecrementCounter(StatsCounter* counter, int value); |
819 void IncrementCounter(Condition cc, StatsCounter* counter, int value); | 819 void IncrementCounter(Condition cc, StatsCounter* counter, int value); |
820 void DecrementCounter(Condition cc, StatsCounter* counter, int value); | 820 void DecrementCounter(Condition cc, StatsCounter* counter, int value); |
821 | 821 |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1025 } \ | 1025 } \ |
1026 masm-> | 1026 masm-> |
1027 #else | 1027 #else |
1028 #define ACCESS_MASM(masm) masm-> | 1028 #define ACCESS_MASM(masm) masm-> |
1029 #endif | 1029 #endif |
1030 | 1030 |
1031 | 1031 |
1032 } } // namespace v8::internal | 1032 } } // namespace v8::internal |
1033 | 1033 |
1034 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 1034 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
OLD | NEW |