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 1291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1302 } | 1302 } |
1303 | 1303 |
1304 // Activation support. | 1304 // Activation support. |
1305 void EnterFrame(StackFrame::Type type); | 1305 void EnterFrame(StackFrame::Type type); |
1306 void LeaveFrame(StackFrame::Type type); | 1306 void LeaveFrame(StackFrame::Type type); |
1307 | 1307 |
1308 // Expects object in r0 and returns map with validated enum cache | 1308 // Expects object in r0 and returns map with validated enum cache |
1309 // in r0. Assumes that any other register can be used as a scratch. | 1309 // in r0. Assumes that any other register can be used as a scratch. |
1310 void CheckEnumCache(Register null_value, Label* call_runtime); | 1310 void CheckEnumCache(Register null_value, Label* call_runtime); |
1311 | 1311 |
1312 // AllocationSiteInfo support. Arrays may have an associated | |
1313 // AllocationSiteInfo object that can be checked for in order to pretransition | |
1314 // to another type. | |
1315 // On entry, r2 should point to the array object. r4 gets clobbered. | |
1316 // If allocation info is present, jump to allocation_info_present | |
1317 void PerformAllocationSiteInfoCheck(Label* allocation_info_present); | |
danno
2013/01/04 08:50:55
Pass the two registers that are used into this fun
mvstanton
2013/01/04 12:07:52
Done.
| |
1318 | |
1312 private: | 1319 private: |
1313 void CallCFunctionHelper(Register function, | 1320 void CallCFunctionHelper(Register function, |
1314 int num_reg_arguments, | 1321 int num_reg_arguments, |
1315 int num_double_arguments); | 1322 int num_double_arguments); |
1316 | 1323 |
1317 void Jump(intptr_t target, RelocInfo::Mode rmode, Condition cond = al); | 1324 void Jump(intptr_t target, RelocInfo::Mode rmode, Condition cond = al); |
1318 | 1325 |
1319 // Helper functions for generating invokes. | 1326 // Helper functions for generating invokes. |
1320 void InvokePrologue(const ParameterCount& expected, | 1327 void InvokePrologue(const ParameterCount& expected, |
1321 const ParameterCount& actual, | 1328 const ParameterCount& actual, |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1417 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1424 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1418 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1425 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1419 #else | 1426 #else |
1420 #define ACCESS_MASM(masm) masm-> | 1427 #define ACCESS_MASM(masm) masm-> |
1421 #endif | 1428 #endif |
1422 | 1429 |
1423 | 1430 |
1424 } } // namespace v8::internal | 1431 } } // namespace v8::internal |
1425 | 1432 |
1426 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1433 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |