OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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/stub_code.h" | 8 #include "vm/stub_code.h" |
9 | 9 |
10 #define __ assembler-> | 10 #define __ assembler-> |
11 | 11 |
12 namespace dart { | 12 namespace dart { |
13 | 13 |
14 void StubCode::GenerateDartCallToRuntimeStub(Assembler* assembler) { | 14 void StubCode::GenerateDartCallToRuntimeStub(Assembler* assembler) { |
15 __ Unimplemented("DartCallToRuntime stub"); | 15 __ Unimplemented("DartCallToRuntime stub"); |
16 } | 16 } |
17 | 17 |
18 | 18 |
19 void StubCode::GenerateStubCallToRuntimeStub(Assembler* assembler) { | 19 void StubCode::GenerateStubCallToRuntimeStub(Assembler* assembler) { |
20 __ Unimplemented("StubCallToRuntime stub"); | 20 __ Unimplemented("StubCallToRuntime stub"); |
21 } | 21 } |
22 | 22 |
23 | 23 |
24 void StubCode::GenerateCallNativeCFunctionStub(Assembler* assembler) { | 24 void StubCode::GenerateCallNativeCFunctionStub(Assembler* assembler) { |
25 __ Unimplemented("CallNativeCFunction stub"); | 25 __ Unimplemented("CallNativeCFunction stub"); |
26 } | 26 } |
27 | 27 |
28 | 28 |
29 void StubCode::GenerateCallNoSuchMethodFunctionStub(Assembler* assembler) { | 29 void StubCode::GenerateCallStaticFunctionStub(Assembler* assembler) { |
30 __ Unimplemented("CallNoSuchMethodFunction stub"); | 30 __ Unimplemented("CallStaticFunction stub"); |
| 31 } |
| 32 |
| 33 |
| 34 void StubCode::GenerateStackOverflowStub(Assembler* assembler) { |
| 35 __ Unimplemented("StackOverflow stub"); |
| 36 } |
| 37 |
| 38 |
| 39 void StubCode::GenerateOptimizeInvokedFunctionStub(Assembler* assembler) { |
| 40 __ Unimplemented("OptimizeInvokedFunction stub"); |
| 41 } |
| 42 |
| 43 |
| 44 void StubCode::GenerateFixCallersTargetStub(Assembler* assembler) { |
| 45 __ Unimplemented("FixCallersTarget stub"); |
| 46 } |
| 47 |
| 48 |
| 49 void StubCode::GenerateMegamorphicLookupStub(Assembler* assembler) { |
| 50 __ Unimplemented("MegamorphicLookup stub"); |
| 51 } |
| 52 |
| 53 |
| 54 void StubCode::GenerateDeoptimizeStub(Assembler* assembler) { |
| 55 __ Unimplemented("Deoptimize stub"); |
| 56 } |
| 57 |
| 58 |
| 59 void StubCode::GenerateAllocateArrayStub(Assembler* assembler) { |
| 60 __ Unimplemented("AllocateArray stub"); |
| 61 } |
| 62 |
| 63 |
| 64 void StubCode::GenerateCallClosureFunctionStub(Assembler* assembler) { |
| 65 __ Unimplemented("CallClosureFunction stub"); |
31 } | 66 } |
32 | 67 |
33 | 68 |
34 void StubCode::GenerateInvokeDartCodeStub(Assembler* assembler) { | 69 void StubCode::GenerateInvokeDartCodeStub(Assembler* assembler) { |
35 __ Unimplemented("InvokeDartCode stub"); | 70 __ Unimplemented("InvokeDartCode stub"); |
36 } | 71 } |
37 | 72 |
38 | 73 |
39 void StubCode::GenerateCallStaticFunctionStub(Assembler* assembler) { | |
40 __ Unimplemented("CallStaticFunction stub"); | |
41 } | |
42 | |
43 | |
44 void StubCode::GenerateMegamorphicLookupStub(Assembler* assembler) { | |
45 __ Unimplemented("MegamorphicLookup stub"); | |
46 } | |
47 | |
48 | |
49 void StubCode::GenerateCallClosureFunctionStub(Assembler* assembler) { | |
50 __ Unimplemented("CallClosureFunction stub"); | |
51 } | |
52 | |
53 | |
54 void StubCode::GenerateAllocateContextStub(Assembler* assembler) { | 74 void StubCode::GenerateAllocateContextStub(Assembler* assembler) { |
55 __ Unimplemented("AllocateContext stub"); | 75 __ Unimplemented("AllocateContext stub"); |
56 } | 76 } |
57 | 77 |
58 | 78 |
59 void StubCode::GenerateAllocationStubForClass(Assembler* assembler, | 79 void StubCode::GenerateAllocationStubForClass(Assembler* assembler, |
60 const Class& cls) { | 80 const Class& cls) { |
61 __ Unimplemented("AllocateObject stub"); | 81 __ Unimplemented("AllocateObject stub"); |
62 } | 82 } |
63 | 83 |
64 | 84 |
65 void StubCode::GenerateAllocationStubForClosure(Assembler* assembler, | 85 void StubCode::GenerateAllocationStubForClosure(Assembler* assembler, |
66 const Function& func) { | 86 const Function& func) { |
67 __ Unimplemented("AllocateClosure stub"); | 87 __ Unimplemented("AllocateClosure stub"); |
68 } | 88 } |
69 | 89 |
| 90 |
| 91 void StubCode::GenerateCallNoSuchMethodFunctionStub(Assembler* assembler) { |
| 92 __ Unimplemented("CallNoSuchMethodFunction stub"); |
| 93 } |
| 94 |
| 95 |
| 96 void StubCode::GenerateInlineCacheStub(Assembler* assembler) { |
| 97 __ Unimplemented("InlineCache stub"); |
| 98 } |
| 99 |
| 100 |
| 101 void StubCode::GenerateBreakpointStaticStub(Assembler* assembler) { |
| 102 __ Unimplemented("BreakpointStatic stub"); |
| 103 } |
| 104 |
| 105 |
| 106 void StubCode::GenerateBreakpointDynamicStub(Assembler* assembler) { |
| 107 __ Unimplemented("BreakpointDynamic stub"); |
| 108 } |
| 109 |
70 } // namespace dart | 110 } // namespace dart |
71 | 111 |
72 #endif // defined TARGET_ARCH_ARM | 112 #endif // defined TARGET_ARCH_ARM |
OLD | NEW |