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 572 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
583 // --------------------------------------------------------------------------- | 583 // --------------------------------------------------------------------------- |
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 | |
594 void GetNumberHash(Register t0, Register scratch); | 593 void GetNumberHash(Register t0, Register scratch); |
595 | 594 |
596 | |
597 void LoadFromNumberDictionary(Label* miss, | 595 void LoadFromNumberDictionary(Label* miss, |
598 Register elements, | 596 Register elements, |
599 Register key, | 597 Register key, |
600 Register result, | 598 Register result, |
601 Register t0, | 599 Register t0, |
602 Register t1, | 600 Register t1, |
603 Register t2); | 601 Register t2); |
604 | 602 |
605 | 603 |
606 inline void MarkCode(NopMarkerTypes type) { | 604 inline void MarkCode(NopMarkerTypes type) { |
(...skipping 739 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1346 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1344 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1347 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1345 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1348 #else | 1346 #else |
1349 #define ACCESS_MASM(masm) masm-> | 1347 #define ACCESS_MASM(masm) masm-> |
1350 #endif | 1348 #endif |
1351 | 1349 |
1352 | 1350 |
1353 } } // namespace v8::internal | 1351 } } // namespace v8::internal |
1354 | 1352 |
1355 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1353 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |