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 1316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1327 } | 1327 } |
1328 | 1328 |
1329 // Activation support. | 1329 // Activation support. |
1330 void EnterFrame(StackFrame::Type type); | 1330 void EnterFrame(StackFrame::Type type); |
1331 void LeaveFrame(StackFrame::Type type); | 1331 void LeaveFrame(StackFrame::Type type); |
1332 | 1332 |
1333 // Expects object in r0 and returns map with validated enum cache | 1333 // Expects object in r0 and returns map with validated enum cache |
1334 // in r0. Assumes that any other register can be used as a scratch. | 1334 // in r0. Assumes that any other register can be used as a scratch. |
1335 void CheckEnumCache(Register null_value, Label* call_runtime); | 1335 void CheckEnumCache(Register null_value, Label* call_runtime); |
1336 | 1336 |
1337 // AllocationSiteInfo support. Arrays may have an associated | 1337 // AllocationMemento support. Arrays may have an associated |
1338 // AllocationSiteInfo object that can be checked for in order to pretransition | 1338 // AllocationMemento object that can be checked for in order to pretransition |
1339 // to another type. | 1339 // to another type. |
1340 // On entry, receiver_reg should point to the array object. | 1340 // On entry, receiver_reg should point to the array object. |
1341 // scratch_reg gets clobbered. | 1341 // scratch_reg gets clobbered. |
1342 // If allocation info is present, condition flags are set to eq | 1342 // If allocation info is present, condition flags are set to eq |
1343 void TestJSArrayForAllocationSiteInfo(Register receiver_reg, | 1343 void TestJSArrayForAllocationMemento(Register receiver_reg, |
1344 Register scratch_reg); | 1344 Register scratch_reg); |
1345 | 1345 |
1346 private: | 1346 private: |
1347 void CallCFunctionHelper(Register function, | 1347 void CallCFunctionHelper(Register function, |
1348 int num_reg_arguments, | 1348 int num_reg_arguments, |
1349 int num_double_arguments); | 1349 int num_double_arguments); |
1350 | 1350 |
1351 void Jump(intptr_t target, RelocInfo::Mode rmode, Condition cond = al); | 1351 void Jump(intptr_t target, RelocInfo::Mode rmode, Condition cond = al); |
1352 | 1352 |
1353 // Helper functions for generating invokes. | 1353 // Helper functions for generating invokes. |
1354 void InvokePrologue(const ParameterCount& expected, | 1354 void InvokePrologue(const ParameterCount& expected, |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1450 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1450 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1451 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1451 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1452 #else | 1452 #else |
1453 #define ACCESS_MASM(masm) masm-> | 1453 #define ACCESS_MASM(masm) masm-> |
1454 #endif | 1454 #endif |
1455 | 1455 |
1456 | 1456 |
1457 } } // namespace v8::internal | 1457 } } // namespace v8::internal |
1458 | 1458 |
1459 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1459 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |