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 496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
507 Register scratch, | 507 Register scratch, |
508 Label* no_map_match); | 508 Label* no_map_match); |
509 | 509 |
510 // Load the initial map for new Arrays from a JSFunction. | 510 // Load the initial map for new Arrays from a JSFunction. |
511 void LoadInitialArrayMap(Register function_in, | 511 void LoadInitialArrayMap(Register function_in, |
512 Register scratch, | 512 Register scratch, |
513 Register map_out, | 513 Register map_out, |
514 bool can_have_holes); | 514 bool can_have_holes); |
515 | 515 |
516 void LoadGlobalFunction(int index, Register function); | 516 void LoadGlobalFunction(int index, Register function); |
| 517 void LoadArrayFunction(Register function); |
517 | 518 |
518 // Load the initial map from the global function. The registers | 519 // Load the initial map from the global function. The registers |
519 // function and map can be the same, function is then overwritten. | 520 // function and map can be the same, function is then overwritten. |
520 void LoadGlobalFunctionInitialMap(Register function, | 521 void LoadGlobalFunctionInitialMap(Register function, |
521 Register map, | 522 Register map, |
522 Register scratch); | 523 Register scratch); |
523 | 524 |
524 void InitializeRootRegister() { | 525 void InitializeRootRegister() { |
525 ExternalReference roots_array_start = | 526 ExternalReference roots_array_start = |
526 ExternalReference::roots_array_start(isolate()); | 527 ExternalReference::roots_array_start(isolate()); |
(...skipping 897 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1424 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1425 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1425 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1426 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1426 #else | 1427 #else |
1427 #define ACCESS_MASM(masm) masm-> | 1428 #define ACCESS_MASM(masm) masm-> |
1428 #endif | 1429 #endif |
1429 | 1430 |
1430 | 1431 |
1431 } } // namespace v8::internal | 1432 } } // namespace v8::internal |
1432 | 1433 |
1433 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1434 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |