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 1301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1312 | 1312 |
1313 // Expects object in r0 and returns map with validated enum cache | 1313 // Expects object in r0 and returns map with validated enum cache |
1314 // in r0. Assumes that any other register can be used as a scratch. | 1314 // in r0. Assumes that any other register can be used as a scratch. |
1315 void CheckEnumCache(Register null_value, Label* call_runtime); | 1315 void CheckEnumCache(Register null_value, Label* call_runtime); |
1316 | 1316 |
1317 // AllocationSiteInfo support. Arrays may have an associated | 1317 // AllocationSiteInfo support. Arrays may have an associated |
1318 // AllocationSiteInfo object that can be checked for in order to pretransition | 1318 // AllocationSiteInfo object that can be checked for in order to pretransition |
1319 // to another type. | 1319 // to another type. |
1320 // On entry, receiver_reg should point to the array object. | 1320 // On entry, receiver_reg should point to the array object. |
1321 // scratch_reg gets clobbered. | 1321 // scratch_reg gets clobbered. |
1322 // If allocation info is present, jump to allocation_info_present | 1322 // If allocation info is present, condition flags are set to eq |
1323 void TestJSArrayForAllocationSiteInfo(Register receiver_reg, | 1323 void TestJSArrayForAllocationSiteInfo(Register receiver_reg, |
1324 Register scratch_reg, | 1324 Register scratch_reg); |
1325 Label* allocation_info_present); | |
1326 | 1325 |
1327 private: | 1326 private: |
1328 void CallCFunctionHelper(Register function, | 1327 void CallCFunctionHelper(Register function, |
1329 int num_reg_arguments, | 1328 int num_reg_arguments, |
1330 int num_double_arguments); | 1329 int num_double_arguments); |
1331 | 1330 |
1332 void Jump(intptr_t target, RelocInfo::Mode rmode, Condition cond = al); | 1331 void Jump(intptr_t target, RelocInfo::Mode rmode, Condition cond = al); |
1333 | 1332 |
1334 // Helper functions for generating invokes. | 1333 // Helper functions for generating invokes. |
1335 void InvokePrologue(const ParameterCount& expected, | 1334 void InvokePrologue(const ParameterCount& expected, |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1432 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1431 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1433 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1432 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1434 #else | 1433 #else |
1435 #define ACCESS_MASM(masm) masm-> | 1434 #define ACCESS_MASM(masm) masm-> |
1436 #endif | 1435 #endif |
1437 | 1436 |
1438 | 1437 |
1439 } } // namespace v8::internal | 1438 } } // namespace v8::internal |
1440 | 1439 |
1441 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1440 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |