| 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/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 1909 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1920 } | 1920 } |
| 1921 | 1921 |
| 1922 | 1922 |
| 1923 LocationSummary* StaticCallInstr::MakeLocationSummary() const { | 1923 LocationSummary* StaticCallInstr::MakeLocationSummary() const { |
| 1924 return MakeCallSummary(); | 1924 return MakeCallSummary(); |
| 1925 } | 1925 } |
| 1926 | 1926 |
| 1927 | 1927 |
| 1928 void StaticCallInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 1928 void StaticCallInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 1929 Label skip_call; | 1929 Label skip_call; |
| 1930 if (function().name() == Symbols::EqualOperator()) { | 1930 if (function().name() == Symbols::EqualOperator().raw()) { |
| 1931 compiler->EmitSuperEqualityCallPrologue(locs()->out().reg(), &skip_call); | 1931 compiler->EmitSuperEqualityCallPrologue(locs()->out().reg(), &skip_call); |
| 1932 } | 1932 } |
| 1933 compiler->GenerateStaticCall(deopt_id(), | 1933 compiler->GenerateStaticCall(deopt_id(), |
| 1934 token_pos(), | 1934 token_pos(), |
| 1935 function(), | 1935 function(), |
| 1936 ArgumentCount(), | 1936 ArgumentCount(), |
| 1937 argument_names(), | 1937 argument_names(), |
| 1938 locs()); | 1938 locs()); |
| 1939 __ Bind(&skip_call); | 1939 __ Bind(&skip_call); |
| 1940 } | 1940 } |
| (...skipping 764 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2705 default: | 2705 default: |
| 2706 UNREACHABLE(); | 2706 UNREACHABLE(); |
| 2707 return -1; | 2707 return -1; |
| 2708 } | 2708 } |
| 2709 } | 2709 } |
| 2710 | 2710 |
| 2711 | 2711 |
| 2712 #undef __ | 2712 #undef __ |
| 2713 | 2713 |
| 2714 } // namespace dart | 2714 } // namespace dart |
| OLD | NEW |