OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 // --------------------------------------------------------------------------- | 259 // --------------------------------------------------------------------------- |
260 // Inline caching support. | 260 // Inline caching support. |
261 | 261 |
262 // Generate code for checking access rights - used for security checks | 262 // Generate code for checking access rights - used for security checks |
263 // on access to global objects across environments. The holder register | 263 // on access to global objects across environments. The holder register |
264 // is left untouched, whereas both scratch registers are clobbered. | 264 // is left untouched, whereas both scratch registers are clobbered. |
265 void CheckAccessGlobalProxy(Register holder_reg, | 265 void CheckAccessGlobalProxy(Register holder_reg, |
266 Register scratch, | 266 Register scratch, |
267 Label* miss); | 267 Label* miss); |
268 | 268 |
| 269 void GetNumberHash(Register reg0, Register scratch); |
269 | 270 |
270 void LoadFromNumberDictionary(Label* miss, | 271 void LoadFromNumberDictionary(Label* miss, |
271 Register elements, | 272 Register elements, |
272 Register key, | 273 Register key, |
273 Register result, | 274 Register result, |
274 Register reg0, | 275 Register reg0, |
275 Register reg1, | 276 Register reg1, |
276 Register reg2); | 277 Register reg2); |
277 | 278 |
278 | 279 |
(...skipping 951 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1230 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 1231 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
1231 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1232 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1232 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1233 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1233 #else | 1234 #else |
1234 #define ACCESS_MASM(masm) masm-> | 1235 #define ACCESS_MASM(masm) masm-> |
1235 #endif | 1236 #endif |
1236 | 1237 |
1237 } } // namespace v8::internal | 1238 } } // namespace v8::internal |
1238 | 1239 |
1239 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1240 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |