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 1408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1419 TestJSArrayForAllocationMemento(receiver_reg, scratch_reg, | 1419 TestJSArrayForAllocationMemento(receiver_reg, scratch_reg, |
1420 &no_memento_found); | 1420 &no_memento_found); |
1421 b(eq, memento_found); | 1421 b(eq, memento_found); |
1422 bind(&no_memento_found); | 1422 bind(&no_memento_found); |
1423 } | 1423 } |
1424 | 1424 |
1425 // Jumps to found label if a prototype map has dictionary elements. | 1425 // Jumps to found label if a prototype map has dictionary elements. |
1426 void JumpIfDictionaryInPrototypeChain(Register object, Register scratch0, | 1426 void JumpIfDictionaryInPrototypeChain(Register object, Register scratch0, |
1427 Register scratch1, Label* found); | 1427 Register scratch1, Label* found); |
1428 | 1428 |
| 1429 // OSR needs to adjust locals on the stack down one word over the vector. |
| 1430 void AdaptUnoptimizedFrameForOsrEntry(int unoptimized_slot_count, |
| 1431 Register scratch0, Register scratch1); |
| 1432 |
1429 private: | 1433 private: |
1430 void CallCFunctionHelper(Register function, | 1434 void CallCFunctionHelper(Register function, |
1431 int num_reg_arguments, | 1435 int num_reg_arguments, |
1432 int num_double_arguments); | 1436 int num_double_arguments); |
1433 | 1437 |
1434 void Jump(intptr_t target, RelocInfo::Mode rmode, Condition cond = al); | 1438 void Jump(intptr_t target, RelocInfo::Mode rmode, Condition cond = al); |
1435 | 1439 |
1436 // Helper functions for generating invokes. | 1440 // Helper functions for generating invokes. |
1437 void InvokePrologue(const ParameterCount& expected, | 1441 void InvokePrologue(const ParameterCount& expected, |
1438 const ParameterCount& actual, | 1442 const ParameterCount& actual, |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1538 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1542 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1539 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1543 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1540 #else | 1544 #else |
1541 #define ACCESS_MASM(masm) masm-> | 1545 #define ACCESS_MASM(masm) masm-> |
1542 #endif | 1546 #endif |
1543 | 1547 |
1544 | 1548 |
1545 } } // namespace v8::internal | 1549 } } // namespace v8::internal |
1546 | 1550 |
1547 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1551 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |