| 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 1134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1145 | 1145 |
| 1146 // Store the function for the given builtin in the target register. | 1146 // Store the function for the given builtin in the target register. |
| 1147 void GetBuiltinFunction(Register target, Builtins::JavaScript id); | 1147 void GetBuiltinFunction(Register target, Builtins::JavaScript id); |
| 1148 | 1148 |
| 1149 Handle<Object> CodeObject() { | 1149 Handle<Object> CodeObject() { |
| 1150 ASSERT(!code_object_.is_null()); | 1150 ASSERT(!code_object_.is_null()); |
| 1151 return code_object_; | 1151 return code_object_; |
| 1152 } | 1152 } |
| 1153 | 1153 |
| 1154 | 1154 |
| 1155 // Emit code for a flooring division by a constant. The dividend register is | 1155 // Emit code for a truncating division by a constant. The dividend register is |
| 1156 // unchanged and ip gets clobbered. Dividend and result must be different. | 1156 // unchanged and ip gets clobbered. Dividend and result must be different. |
| 1157 void FlooringDiv(Register result, Register dividend, int32_t divisor); | 1157 void TruncatingDiv(Register result, Register dividend, int32_t divisor); |
| 1158 | 1158 |
| 1159 // --------------------------------------------------------------------------- | 1159 // --------------------------------------------------------------------------- |
| 1160 // StatsCounter support | 1160 // StatsCounter support |
| 1161 | 1161 |
| 1162 void SetCounter(StatsCounter* counter, int value, | 1162 void SetCounter(StatsCounter* counter, int value, |
| 1163 Register scratch1, Register scratch2); | 1163 Register scratch1, Register scratch2); |
| 1164 void IncrementCounter(StatsCounter* counter, int value, | 1164 void IncrementCounter(StatsCounter* counter, int value, |
| 1165 Register scratch1, Register scratch2); | 1165 Register scratch1, Register scratch2); |
| 1166 void DecrementCounter(StatsCounter* counter, int value, | 1166 void DecrementCounter(StatsCounter* counter, int value, |
| 1167 Register scratch1, Register scratch2); | 1167 Register scratch1, Register scratch2); |
| (...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1600 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1600 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 1601 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1601 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1602 #else | 1602 #else |
| 1603 #define ACCESS_MASM(masm) masm-> | 1603 #define ACCESS_MASM(masm) masm-> |
| 1604 #endif | 1604 #endif |
| 1605 | 1605 |
| 1606 | 1606 |
| 1607 } } // namespace v8::internal | 1607 } } // namespace v8::internal |
| 1608 | 1608 |
| 1609 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1609 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| OLD | NEW |