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 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
484 // Leave the current exit frame. Expects the return value in r0. | 484 // Leave the current exit frame. Expects the return value in r0. |
485 // Expect the number of values, pushed prior to the exit frame, to | 485 // Expect the number of values, pushed prior to the exit frame, to |
486 // remove in a register (or no_reg, if there is nothing to remove). | 486 // remove in a register (or no_reg, if there is nothing to remove). |
487 void LeaveExitFrame(bool save_doubles, Register argument_count); | 487 void LeaveExitFrame(bool save_doubles, Register argument_count); |
488 | 488 |
489 // Get the actual activation frame alignment for target environment. | 489 // Get the actual activation frame alignment for target environment. |
490 static int ActivationFrameAlignment(); | 490 static int ActivationFrameAlignment(); |
491 | 491 |
492 void LoadContext(Register dst, int context_chain_length); | 492 void LoadContext(Register dst, int context_chain_length); |
493 | 493 |
| 494 // Load the initial map for new Arrays of a given type. |
| 495 void LoadGlobalInitialConstructedArrayMap(Register function_in, |
| 496 Register scratch, |
| 497 Register map_out); |
| 498 |
494 void LoadGlobalFunction(int index, Register function); | 499 void LoadGlobalFunction(int index, Register function); |
495 | 500 |
496 // Load the initial map from the global function. The registers | 501 // Load the initial map from the global function. The registers |
497 // function and map can be the same, function is then overwritten. | 502 // function and map can be the same, function is then overwritten. |
498 void LoadGlobalFunctionInitialMap(Register function, | 503 void LoadGlobalFunctionInitialMap(Register function, |
499 Register map, | 504 Register map, |
500 Register scratch); | 505 Register scratch); |
501 | 506 |
502 void InitializeRootRegister() { | 507 void InitializeRootRegister() { |
503 ExternalReference roots_array_start = | 508 ExternalReference roots_array_start = |
(...skipping 842 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1346 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1351 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1347 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1352 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1348 #else | 1353 #else |
1349 #define ACCESS_MASM(masm) masm-> | 1354 #define ACCESS_MASM(masm) masm-> |
1350 #endif | 1355 #endif |
1351 | 1356 |
1352 | 1357 |
1353 } } // namespace v8::internal | 1358 } } // namespace v8::internal |
1354 | 1359 |
1355 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1360 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |