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 1333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1344 | 1344 |
1345 // AllocationMemento support. Arrays may have an associated | 1345 // AllocationMemento support. Arrays may have an associated |
1346 // AllocationMemento object that can be checked for in order to pretransition | 1346 // AllocationMemento object that can be checked for in order to pretransition |
1347 // to another type. | 1347 // to another type. |
1348 // On entry, receiver_reg should point to the array object. | 1348 // On entry, receiver_reg should point to the array object. |
1349 // scratch_reg gets clobbered. | 1349 // scratch_reg gets clobbered. |
1350 // If allocation info is present, condition flags are set to eq | 1350 // If allocation info is present, condition flags are set to eq |
1351 void TestJSArrayForAllocationMemento(Register receiver_reg, | 1351 void TestJSArrayForAllocationMemento(Register receiver_reg, |
1352 Register scratch_reg); | 1352 Register scratch_reg); |
1353 | 1353 |
| 1354 void CheckModeBit(Register code); |
| 1355 |
1354 private: | 1356 private: |
1355 void CallCFunctionHelper(Register function, | 1357 void CallCFunctionHelper(Register function, |
1356 int num_reg_arguments, | 1358 int num_reg_arguments, |
1357 int num_double_arguments); | 1359 int num_double_arguments); |
1358 | 1360 |
1359 void Jump(intptr_t target, RelocInfo::Mode rmode, Condition cond = al); | 1361 void Jump(intptr_t target, RelocInfo::Mode rmode, Condition cond = al); |
1360 | 1362 |
1361 // Helper functions for generating invokes. | 1363 // Helper functions for generating invokes. |
1362 void InvokePrologue(const ParameterCount& expected, | 1364 void InvokePrologue(const ParameterCount& expected, |
1363 const ParameterCount& actual, | 1365 const ParameterCount& actual, |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1458 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1460 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1459 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1461 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1460 #else | 1462 #else |
1461 #define ACCESS_MASM(masm) masm-> | 1463 #define ACCESS_MASM(masm) masm-> |
1462 #endif | 1464 #endif |
1463 | 1465 |
1464 | 1466 |
1465 } } // namespace v8::internal | 1467 } } // namespace v8::internal |
1466 | 1468 |
1467 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1469 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |