Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1388)

Side by Side Diff: vm/intermediate_language.cc

Issue 11667012: Convert all symbols accessor to return read only handles so that it is not necessary to create a ne… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « vm/flow_graph_optimizer.cc ('k') | vm/intermediate_language_ia32.cc » ('j') | vm/symbols.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698