OLD | NEW |
---|---|
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 5 #ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
7 | 7 |
8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
9 #include "src/bailout-reason.h" | 9 #include "src/bailout-reason.h" |
10 #include "src/frames.h" | 10 #include "src/frames.h" |
(...skipping 1410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1421 TestJSArrayForAllocationMemento(receiver_reg, scratch_reg, | 1421 TestJSArrayForAllocationMemento(receiver_reg, scratch_reg, |
1422 &no_memento_found); | 1422 &no_memento_found); |
1423 b(eq, memento_found); | 1423 b(eq, memento_found); |
1424 bind(&no_memento_found); | 1424 bind(&no_memento_found); |
1425 } | 1425 } |
1426 | 1426 |
1427 // Jumps to found label if a prototype map has dictionary elements. | 1427 // Jumps to found label if a prototype map has dictionary elements. |
1428 void JumpIfDictionaryInPrototypeChain(Register object, Register scratch0, | 1428 void JumpIfDictionaryInPrototypeChain(Register object, Register scratch0, |
1429 Register scratch1, Label* found); | 1429 Register scratch1, Label* found); |
1430 | 1430 |
1431 // OSR needs to adjust locals on the stack down one word over the vector. | |
1432 void OSRDropVectorFromStack(int unoptimized_slot_count, Register scratch0, | |
titzer
2015/02/24 19:32:55
I think this method should have a more generic nam
mvstanton
2015/03/20 12:21:09
Good point, and good name. I've changed to AdaptUn
| |
1433 Register scratch1); | |
1434 | |
1431 private: | 1435 private: |
1432 void CallCFunctionHelper(Register function, | 1436 void CallCFunctionHelper(Register function, |
1433 int num_reg_arguments, | 1437 int num_reg_arguments, |
1434 int num_double_arguments); | 1438 int num_double_arguments); |
1435 | 1439 |
1436 void Jump(intptr_t target, RelocInfo::Mode rmode, Condition cond = al); | 1440 void Jump(intptr_t target, RelocInfo::Mode rmode, Condition cond = al); |
1437 | 1441 |
1438 // Helper functions for generating invokes. | 1442 // Helper functions for generating invokes. |
1439 void InvokePrologue(const ParameterCount& expected, | 1443 void InvokePrologue(const ParameterCount& expected, |
1440 const ParameterCount& actual, | 1444 const ParameterCount& actual, |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1544 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1548 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1545 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1549 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1546 #else | 1550 #else |
1547 #define ACCESS_MASM(masm) masm-> | 1551 #define ACCESS_MASM(masm) masm-> |
1548 #endif | 1552 #endif |
1549 | 1553 |
1550 | 1554 |
1551 } } // namespace v8::internal | 1555 } } // namespace v8::internal |
1552 | 1556 |
1553 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1557 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |