| 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 844 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 855 void Push(Smi* smi) { Push(Handle<Smi>(smi, isolate())); } | 855 void Push(Smi* smi) { Push(Handle<Smi>(smi, isolate())); } |
| 856 | 856 |
| 857 Handle<Object> CodeObject() { | 857 Handle<Object> CodeObject() { |
| 858 ASSERT(!code_object_.is_null()); | 858 ASSERT(!code_object_.is_null()); |
| 859 return code_object_; | 859 return code_object_; |
| 860 } | 860 } |
| 861 | 861 |
| 862 // Insert code to verify that the x87 stack has the specified depth (0-7) | 862 // Insert code to verify that the x87 stack has the specified depth (0-7) |
| 863 void VerifyX87StackDepth(uint32_t depth); | 863 void VerifyX87StackDepth(uint32_t depth); |
| 864 | 864 |
| 865 // Emit code for a flooring division by a constant. The dividend register is | 865 // Emit code for a truncating division by a constant. The dividend register is |
| 866 // unchanged, the result is in edx, and eax gets clobbered. | 866 // unchanged, the result is in edx, and eax gets clobbered. |
| 867 void FlooringDiv(Register dividend, int32_t divisor); | 867 void TruncatingDiv(Register dividend, int32_t divisor); |
| 868 | 868 |
| 869 // --------------------------------------------------------------------------- | 869 // --------------------------------------------------------------------------- |
| 870 // StatsCounter support | 870 // StatsCounter support |
| 871 | 871 |
| 872 void SetCounter(StatsCounter* counter, int value); | 872 void SetCounter(StatsCounter* counter, int value); |
| 873 void IncrementCounter(StatsCounter* counter, int value); | 873 void IncrementCounter(StatsCounter* counter, int value); |
| 874 void DecrementCounter(StatsCounter* counter, int value); | 874 void DecrementCounter(StatsCounter* counter, int value); |
| 875 void IncrementCounter(Condition cc, StatsCounter* counter, int value); | 875 void IncrementCounter(Condition cc, StatsCounter* counter, int value); |
| 876 void DecrementCounter(Condition cc, StatsCounter* counter, int value); | 876 void DecrementCounter(Condition cc, StatsCounter* counter, int value); |
| 877 | 877 |
| (...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1125 } \ | 1125 } \ |
| 1126 masm-> | 1126 masm-> |
| 1127 #else | 1127 #else |
| 1128 #define ACCESS_MASM(masm) masm-> | 1128 #define ACCESS_MASM(masm) masm-> |
| 1129 #endif | 1129 #endif |
| 1130 | 1130 |
| 1131 | 1131 |
| 1132 } } // namespace v8::internal | 1132 } } // namespace v8::internal |
| 1133 | 1133 |
| 1134 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 1134 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
| OLD | NEW |