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. | 494 // Conditionally load the cached Array transitioned map of type |
495 void LoadGlobalInitialConstructedArrayMap(Register function_in, | 495 // transitioned_kind from the global context if the map in register |
496 Register scratch, | 496 // map_in_out is the cached Array map in the global context of |
497 Register map_out); | 497 // expected_kind. |
| 498 void LoadTransitionedArrayMapConditional( |
| 499 ElementsKind expected_kind, |
| 500 ElementsKind transitioned_kind, |
| 501 Register map_in_out, |
| 502 Register scratch, |
| 503 Label* no_map_match); |
| 504 |
| 505 // Load the initial map for a new Arrays from a JSFunction. |
| 506 void LoadInitialArrayMap(Register function_in, |
| 507 Register scratch, |
| 508 Register map_out); |
498 | 509 |
499 void LoadGlobalFunction(int index, Register function); | 510 void LoadGlobalFunction(int index, Register function); |
500 | 511 |
501 // Load the initial map from the global function. The registers | 512 // Load the initial map from the global function. The registers |
502 // function and map can be the same, function is then overwritten. | 513 // function and map can be the same, function is then overwritten. |
503 void LoadGlobalFunctionInitialMap(Register function, | 514 void LoadGlobalFunctionInitialMap(Register function, |
504 Register map, | 515 Register map, |
505 Register scratch); | 516 Register scratch); |
506 | 517 |
507 void InitializeRootRegister() { | 518 void InitializeRootRegister() { |
(...skipping 843 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1351 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1362 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1352 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1363 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1353 #else | 1364 #else |
1354 #define ACCESS_MASM(masm) masm-> | 1365 #define ACCESS_MASM(masm) masm-> |
1355 #endif | 1366 #endif |
1356 | 1367 |
1357 | 1368 |
1358 } } // namespace v8::internal | 1369 } } // namespace v8::internal |
1359 | 1370 |
1360 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1371 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |