| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #include "vm/globals.h" | 5 #include "vm/globals.h" |
| 6 #if defined(TARGET_ARCH_ARM) | 6 #if defined(TARGET_ARCH_ARM) |
| 7 | 7 |
| 8 #include "vm/assembler.h" | 8 #include "vm/assembler.h" |
| 9 #include "vm/code_generator.h" | 9 #include "vm/code_generator.h" |
| 10 #include "vm/compiler.h" | 10 #include "vm/compiler.h" |
| (...skipping 1534 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1545 void StubCode::GenerateClosureCallInlineCacheStub(Assembler* assembler) { | 1545 void StubCode::GenerateClosureCallInlineCacheStub(Assembler* assembler) { |
| 1546 GenerateNArgsCheckInlineCacheStub(assembler, 1); | 1546 GenerateNArgsCheckInlineCacheStub(assembler, 1); |
| 1547 } | 1547 } |
| 1548 | 1548 |
| 1549 | 1549 |
| 1550 void StubCode::GenerateMegamorphicCallStub(Assembler* assembler) { | 1550 void StubCode::GenerateMegamorphicCallStub(Assembler* assembler) { |
| 1551 GenerateNArgsCheckInlineCacheStub(assembler, 1); | 1551 GenerateNArgsCheckInlineCacheStub(assembler, 1); |
| 1552 } | 1552 } |
| 1553 | 1553 |
| 1554 | 1554 |
| 1555 void StubCode::GenerateBreakpointEqNullStub(Assembler* assembler) { |
| 1556 // TODO(hausner): implement this stub. |
| 1557 __ Branch(&StubCode::EqualityWithNullArgLabel()); |
| 1558 } |
| 1559 |
| 1560 |
| 1555 void StubCode::GenerateBreakpointClosureStub(Assembler* assembler) { | 1561 void StubCode::GenerateBreakpointClosureStub(Assembler* assembler) { |
| 1556 // TODO(hausner): implement this stub. | 1562 // TODO(hausner): implement this stub. |
| 1557 __ Branch(&StubCode::CallClosureFunctionLabel()); | 1563 __ Branch(&StubCode::CallClosureFunctionLabel()); |
| 1558 } | 1564 } |
| 1559 | 1565 |
| 1560 | 1566 |
| 1561 // LR: return address (Dart code). | 1567 // LR: return address (Dart code). |
| 1562 // R4: arguments descriptor array. | 1568 // R4: arguments descriptor array. |
| 1563 void StubCode::GenerateBreakpointStaticStub(Assembler* assembler) { | 1569 void StubCode::GenerateBreakpointStaticStub(Assembler* assembler) { |
| 1564 // Create a stub frame as we are pushing some objects on the stack before | 1570 // Create a stub frame as we are pushing some objects on the stack before |
| (...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1941 __ Bind(&reference_compare); | 1947 __ Bind(&reference_compare); |
| 1942 __ cmp(left, ShifterOperand(right)); | 1948 __ cmp(left, ShifterOperand(right)); |
| 1943 __ Bind(&done); | 1949 __ Bind(&done); |
| 1944 __ PopList((1 << R0) | (1 << R1) | (1 << R2)); | 1950 __ PopList((1 << R0) | (1 << R1) | (1 << R2)); |
| 1945 __ Ret(); | 1951 __ Ret(); |
| 1946 } | 1952 } |
| 1947 | 1953 |
| 1948 } // namespace dart | 1954 } // namespace dart |
| 1949 | 1955 |
| 1950 #endif // defined TARGET_ARCH_ARM | 1956 #endif // defined TARGET_ARCH_ARM |
| OLD | NEW |