| 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/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/dart_entry.h" | 8 #include "vm/dart_entry.h" |
| 9 #include "vm/flow_graph_allocator.h" | 9 #include "vm/flow_graph_allocator.h" |
| 10 #include "vm/flow_graph_builder.h" | 10 #include "vm/flow_graph_builder.h" |
| (...skipping 1924 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1935 ArgumentCount(), | 1935 ArgumentCount(), |
| 1936 argument_names(), | 1936 argument_names(), |
| 1937 locs()); | 1937 locs()); |
| 1938 __ Bind(&skip_call); | 1938 __ Bind(&skip_call); |
| 1939 } | 1939 } |
| 1940 | 1940 |
| 1941 | 1941 |
| 1942 void AssertAssignableInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 1942 void AssertAssignableInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 1943 if (!is_eliminated()) { | 1943 if (!is_eliminated()) { |
| 1944 compiler->GenerateAssertAssignable(token_pos(), | 1944 compiler->GenerateAssertAssignable(token_pos(), |
| 1945 deopt_id(), |
| 1945 dst_type(), | 1946 dst_type(), |
| 1946 dst_name(), | 1947 dst_name(), |
| 1947 locs()); | 1948 locs()); |
| 1948 } | 1949 } |
| 1949 ASSERT(locs()->in(0).reg() == locs()->out().reg()); | 1950 ASSERT(locs()->in(0).reg() == locs()->out().reg()); |
| 1950 } | 1951 } |
| 1951 | 1952 |
| 1952 | 1953 |
| 1953 Environment* Environment::From(const GrowableArray<Definition*>& definitions, | 1954 Environment* Environment::From(const GrowableArray<Definition*>& definitions, |
| 1954 intptr_t fixed_parameter_count, | 1955 intptr_t fixed_parameter_count, |
| (...skipping 725 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2680 default: | 2681 default: |
| 2681 UNREACHABLE(); | 2682 UNREACHABLE(); |
| 2682 } | 2683 } |
| 2683 return kPowRuntimeEntry; | 2684 return kPowRuntimeEntry; |
| 2684 } | 2685 } |
| 2685 | 2686 |
| 2686 | 2687 |
| 2687 #undef __ | 2688 #undef __ |
| 2688 | 2689 |
| 2689 } // namespace dart | 2690 } // namespace dart |
| OLD | NEW |