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 552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
563 // transitioned_kind from the native context if the map in register | 563 // transitioned_kind from the native context if the map in register |
564 // map_in_out is the cached Array map in the native context of | 564 // map_in_out is the cached Array map in the native context of |
565 // expected_kind. | 565 // expected_kind. |
566 void LoadTransitionedArrayMapConditional( | 566 void LoadTransitionedArrayMapConditional( |
567 ElementsKind expected_kind, | 567 ElementsKind expected_kind, |
568 ElementsKind transitioned_kind, | 568 ElementsKind transitioned_kind, |
569 Register map_in_out, | 569 Register map_in_out, |
570 Register scratch, | 570 Register scratch, |
571 Label* no_map_match); | 571 Label* no_map_match); |
572 | 572 |
573 // Load the initial map for new Arrays from a JSFunction. | |
574 void LoadInitialArrayMap(Register function_in, | |
575 Register scratch, | |
576 Register map_out, | |
577 bool can_have_holes); | |
578 | |
579 void LoadGlobalFunction(int index, Register function); | 573 void LoadGlobalFunction(int index, Register function); |
580 void LoadArrayFunction(Register function); | 574 void LoadArrayFunction(Register function); |
581 | 575 |
582 // Load the initial map from the global function. The registers | 576 // Load the initial map from the global function. The registers |
583 // function and map can be the same, function is then overwritten. | 577 // function and map can be the same, function is then overwritten. |
584 void LoadGlobalFunctionInitialMap(Register function, | 578 void LoadGlobalFunctionInitialMap(Register function, |
585 Register map, | 579 Register map, |
586 Register scratch); | 580 Register scratch); |
587 | 581 |
588 void InitializeRootRegister() { | 582 void InitializeRootRegister() { |
(...skipping 946 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1535 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1529 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1536 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1530 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1537 #else | 1531 #else |
1538 #define ACCESS_MASM(masm) masm-> | 1532 #define ACCESS_MASM(masm) masm-> |
1539 #endif | 1533 #endif |
1540 | 1534 |
1541 | 1535 |
1542 } } // namespace v8::internal | 1536 } } // namespace v8::internal |
1543 | 1537 |
1544 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1538 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |