| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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/intermediate_language.h" | 5 #include "vm/intermediate_language.h" |
| 6 | 6 |
| 7 #include "vm/bit_vector.h" | 7 #include "vm/bit_vector.h" |
| 8 #include "vm/flow_graph_builder.h" | 8 #include "vm/flow_graph_builder.h" |
| 9 #include "vm/object.h" | 9 #include "vm/object.h" |
| 10 #include "vm/os.h" | 10 #include "vm/os.h" |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 return ArgumentCount(); | 74 return ArgumentCount(); |
| 75 } | 75 } |
| 76 | 76 |
| 77 | 77 |
| 78 intptr_t StaticCallComp::InputCount() const { | 78 intptr_t StaticCallComp::InputCount() const { |
| 79 return ArgumentCount(); | 79 return ArgumentCount(); |
| 80 } | 80 } |
| 81 | 81 |
| 82 | 82 |
| 83 intptr_t ClosureCallComp::InputCount() const { | 83 intptr_t ClosureCallComp::InputCount() const { |
| 84 // Context and arguments. | 84 return ArgumentCount(); |
| 85 return 1 + ArgumentCount(); | |
| 86 } | 85 } |
| 87 | 86 |
| 88 | 87 |
| 89 intptr_t AllocateObjectComp::InputCount() const { | 88 intptr_t AllocateObjectComp::InputCount() const { |
| 90 return arguments().length(); | 89 return arguments().length(); |
| 91 } | 90 } |
| 92 | 91 |
| 93 | 92 |
| 94 intptr_t AllocateObjectWithBoundsCheckComp::InputCount() const { | 93 intptr_t AllocateObjectWithBoundsCheckComp::InputCount() const { |
| 95 return arguments().length(); | 94 return arguments().length(); |
| (...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 548 } | 547 } |
| 549 | 548 |
| 550 | 549 |
| 551 RawAbstractType* CatchEntryComp::StaticType() const { | 550 RawAbstractType* CatchEntryComp::StaticType() const { |
| 552 UNREACHABLE(); | 551 UNREACHABLE(); |
| 553 return AbstractType::null(); | 552 return AbstractType::null(); |
| 554 } | 553 } |
| 555 | 554 |
| 556 | 555 |
| 557 } // namespace dart | 556 } // namespace dart |
| OLD | NEW |