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

Side by Side Diff: runtime/vm/intermediate_language.cc

Issue 50523018: Cleanup StaticResolveType, it does not seem to be used anywhere. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 1 month 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) 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/bigint_operations.h" 7 #include "vm/bigint_operations.h"
8 #include "vm/bit_vector.h" 8 #include "vm/bit_vector.h"
9 #include "vm/dart_entry.h" 9 #include "vm/dart_entry.h"
10 #include "vm/flow_graph_allocator.h" 10 #include "vm/flow_graph_allocator.h"
(...skipping 2703 matching lines...) Expand 10 before | Expand all | Expand 10 after
2714 const int kNumberOfArguments = 1; 2714 const int kNumberOfArguments = 1;
2715 const Array& kNoArgumentNames = Object::null_array(); 2715 const Array& kNoArgumentNames = Object::null_array();
2716 const Class& cls = 2716 const Class& cls =
2717 Class::Handle(Library::LookupCoreClass(Symbols::StringBase())); 2717 Class::Handle(Library::LookupCoreClass(Symbols::StringBase()));
2718 ASSERT(!cls.IsNull()); 2718 ASSERT(!cls.IsNull());
2719 function_ = 2719 function_ =
2720 Resolver::ResolveStatic( 2720 Resolver::ResolveStatic(
2721 cls, 2721 cls,
2722 Library::PrivateCoreLibName(Symbols::Interpolate()), 2722 Library::PrivateCoreLibName(Symbols::Interpolate()),
2723 kNumberOfArguments, 2723 kNumberOfArguments,
2724 kNoArgumentNames, 2724 kNoArgumentNames);
2725 Resolver::kIsQualified);
2726 } 2725 }
2727 ASSERT(!function_.IsNull()); 2726 ASSERT(!function_.IsNull());
2728 return function_; 2727 return function_;
2729 } 2728 }
2730 2729
2731 2730
2732 // Replace StringInterpolateInstr with a constant string if all inputs are 2731 // Replace StringInterpolateInstr with a constant string if all inputs are
2733 // constant of [string, number, boolean, null]. 2732 // constant of [string, number, boolean, null].
2734 // Leave the CreateArrayInstr and StoreIndexedInstr in the stream in case 2733 // Leave the CreateArrayInstr and StoreIndexedInstr in the stream in case
2735 // deoptimization occurs. 2734 // deoptimization occurs.
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
2892 return kCosRuntimeEntry; 2891 return kCosRuntimeEntry;
2893 default: 2892 default:
2894 UNREACHABLE(); 2893 UNREACHABLE();
2895 } 2894 }
2896 return kSinRuntimeEntry; 2895 return kSinRuntimeEntry;
2897 } 2896 }
2898 2897
2899 #undef __ 2898 #undef __
2900 2899
2901 } // namespace dart 2900 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_builder.cc ('k') | runtime/vm/parser.cc » ('j') | runtime/vm/resolver.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698