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