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 490 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
501 | 501 |
502 void InitializeRootRegister() { | 502 void InitializeRootRegister() { |
503 ExternalReference roots_array_start = | 503 ExternalReference roots_array_start = |
504 ExternalReference::roots_array_start(isolate()); | 504 ExternalReference::roots_array_start(isolate()); |
505 mov(kRootRegister, Operand(roots_array_start)); | 505 mov(kRootRegister, Operand(roots_array_start)); |
506 } | 506 } |
507 | 507 |
508 // --------------------------------------------------------------------------- | 508 // --------------------------------------------------------------------------- |
509 // JavaScript invokes | 509 // JavaScript invokes |
510 | 510 |
511 // Setup call kind marking in ecx. The method takes ecx as an | 511 // Set up call kind marking in ecx. The method takes ecx as an |
512 // explicit first parameter to make the code more readable at the | 512 // explicit first parameter to make the code more readable at the |
513 // call sites. | 513 // call sites. |
514 void SetCallKind(Register dst, CallKind kind); | 514 void SetCallKind(Register dst, CallKind kind); |
515 | 515 |
516 // Invoke the JavaScript function code by either calling or jumping. | 516 // Invoke the JavaScript function code by either calling or jumping. |
517 void InvokeCode(Register code, | 517 void InvokeCode(Register code, |
518 const ParameterCount& expected, | 518 const ParameterCount& expected, |
519 const ParameterCount& actual, | 519 const ParameterCount& actual, |
520 InvokeFlag flag, | 520 InvokeFlag flag, |
521 const CallWrapper& call_wrapper, | 521 const CallWrapper& call_wrapper, |
(...skipping 822 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1344 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1344 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1345 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1345 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1346 #else | 1346 #else |
1347 #define ACCESS_MASM(masm) masm-> | 1347 #define ACCESS_MASM(masm) masm-> |
1348 #endif | 1348 #endif |
1349 | 1349 |
1350 | 1350 |
1351 } } // namespace v8::internal | 1351 } } // namespace v8::internal |
1352 | 1352 |
1353 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1353 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |