| 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 1992 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2003 ArgumentCount(), | 2003 ArgumentCount(), |
| 2004 argument_names(), | 2004 argument_names(), |
| 2005 locs()); | 2005 locs()); |
| 2006 __ Bind(&skip_call); | 2006 __ Bind(&skip_call); |
| 2007 } | 2007 } |
| 2008 | 2008 |
| 2009 | 2009 |
| 2010 void AssertAssignableInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 2010 void AssertAssignableInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 2011 if (!is_eliminated()) { | 2011 if (!is_eliminated()) { |
| 2012 compiler->GenerateAssertAssignable(token_pos(), | 2012 compiler->GenerateAssertAssignable(token_pos(), |
| 2013 deopt_id(), |
| 2013 dst_type(), | 2014 dst_type(), |
| 2014 dst_name(), | 2015 dst_name(), |
| 2015 locs()); | 2016 locs()); |
| 2016 } | 2017 } |
| 2017 ASSERT(locs()->in(0).reg() == locs()->out().reg()); | 2018 ASSERT(locs()->in(0).reg() == locs()->out().reg()); |
| 2018 } | 2019 } |
| 2019 | 2020 |
| 2020 | 2021 |
| 2021 Environment* Environment::From(const GrowableArray<Definition*>& definitions, | 2022 Environment* Environment::From(const GrowableArray<Definition*>& definitions, |
| 2022 intptr_t fixed_parameter_count, | 2023 intptr_t fixed_parameter_count, |
| (...skipping 732 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2755 default: | 2756 default: |
| 2756 UNREACHABLE(); | 2757 UNREACHABLE(); |
| 2757 } | 2758 } |
| 2758 return kPowRuntimeEntry; | 2759 return kPowRuntimeEntry; |
| 2759 } | 2760 } |
| 2760 | 2761 |
| 2761 | 2762 |
| 2762 #undef __ | 2763 #undef __ |
| 2763 | 2764 |
| 2764 } // namespace dart | 2765 } // namespace dart |
| OLD | NEW |