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 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
399 // Inline caching support. | 399 // Inline caching support. |
400 | 400 |
401 // Generate code for checking access rights - used for security checks | 401 // Generate code for checking access rights - used for security checks |
402 // on access to global objects across environments. The holder register | 402 // on access to global objects across environments. The holder register |
403 // is left untouched, whereas both scratch registers are clobbered. | 403 // is left untouched, whereas both scratch registers are clobbered. |
404 void CheckAccessGlobalProxy(Register holder_reg, | 404 void CheckAccessGlobalProxy(Register holder_reg, |
405 Register scratch, | 405 Register scratch, |
406 Label* miss); | 406 Label* miss); |
407 | 407 |
408 | 408 |
| 409 void GetNumberHash(Register reg0, Register scratch); |
| 410 |
| 411 |
409 void LoadFromNumberDictionary(Label* miss, | 412 void LoadFromNumberDictionary(Label* miss, |
410 Register elements, | 413 Register elements, |
411 Register key, | 414 Register key, |
412 Register result, | 415 Register result, |
413 Register reg0, | 416 Register reg0, |
414 Register reg1, | 417 Register reg1, |
415 Register reg2); | 418 Register reg2); |
416 | 419 |
417 | 420 |
418 inline void MarkCode(NopMarkerTypes type) { | 421 inline void MarkCode(NopMarkerTypes type) { |
(...skipping 1034 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1453 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 1456 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
1454 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1457 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1455 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1458 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1456 #else | 1459 #else |
1457 #define ACCESS_MASM(masm) masm-> | 1460 #define ACCESS_MASM(masm) masm-> |
1458 #endif | 1461 #endif |
1459 | 1462 |
1460 } } // namespace v8::internal | 1463 } } // namespace v8::internal |
1461 | 1464 |
1462 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1465 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |