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 573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
584 // Inline caching support | 584 // Inline caching support |
585 | 585 |
586 // Generate code for checking access rights - used for security checks | 586 // Generate code for checking access rights - used for security checks |
587 // on access to global objects across environments. The holder register | 587 // on access to global objects across environments. The holder register |
588 // is left untouched, whereas both scratch registers are clobbered. | 588 // is left untouched, whereas both scratch registers are clobbered. |
589 void CheckAccessGlobalProxy(Register holder_reg, | 589 void CheckAccessGlobalProxy(Register holder_reg, |
590 Register scratch, | 590 Register scratch, |
591 Label* miss); | 591 Label* miss); |
592 | 592 |
593 | 593 |
| 594 void GetNumberHash(Register t0, Register scratch); |
| 595 |
| 596 |
594 void LoadFromNumberDictionary(Label* miss, | 597 void LoadFromNumberDictionary(Label* miss, |
595 Register elements, | 598 Register elements, |
596 Register key, | 599 Register key, |
597 Register result, | 600 Register result, |
598 Register t0, | 601 Register t0, |
599 Register t1, | 602 Register t1, |
600 Register t2); | 603 Register t2); |
601 | 604 |
602 | 605 |
603 inline void MarkCode(NopMarkerTypes type) { | 606 inline void MarkCode(NopMarkerTypes type) { |
(...skipping 728 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1332 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1335 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1333 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1336 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1334 #else | 1337 #else |
1335 #define ACCESS_MASM(masm) masm-> | 1338 #define ACCESS_MASM(masm) masm-> |
1336 #endif | 1339 #endif |
1337 | 1340 |
1338 | 1341 |
1339 } } // namespace v8::internal | 1342 } } // namespace v8::internal |
1340 | 1343 |
1341 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1344 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |