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

Side by Side Diff: runtime/vm/object.h

Issue 12328019: - Improve the message for NoSuchMethodErrors that are (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 10 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
« no previous file with comments | « runtime/vm/flow_graph_builder.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef VM_OBJECT_H_ 5 #ifndef VM_OBJECT_H_
6 #define VM_OBJECT_H_ 6 #define VM_OBJECT_H_
7 7
8 #include "include/dart_api.h" 8 #include "include/dart_api.h"
9 #include "platform/assert.h" 9 #include "platform/assert.h"
10 #include "platform/utils.h" 10 #include "platform/utils.h"
(...skipping 735 matching lines...) Expand 10 before | Expand all | Expand 10 after
746 void AddFunction(const Function& function) const; 746 void AddFunction(const Function& function) const;
747 747
748 void AddClosureFunction(const Function& function) const; 748 void AddClosureFunction(const Function& function) const;
749 RawFunction* LookupClosureFunction(intptr_t token_pos) const; 749 RawFunction* LookupClosureFunction(intptr_t token_pos) const;
750 750
751 RawFunction* LookupDynamicFunction(const String& name) const; 751 RawFunction* LookupDynamicFunction(const String& name) const;
752 RawFunction* LookupDynamicFunctionAllowPrivate(const String& name) const; 752 RawFunction* LookupDynamicFunctionAllowPrivate(const String& name) const;
753 RawFunction* LookupStaticFunction(const String& name) const; 753 RawFunction* LookupStaticFunction(const String& name) const;
754 RawFunction* LookupStaticFunctionAllowPrivate(const String& name) const; 754 RawFunction* LookupStaticFunctionAllowPrivate(const String& name) const;
755 RawFunction* LookupConstructor(const String& name) const; 755 RawFunction* LookupConstructor(const String& name) const;
756 RawFunction* LookupConstructorAllowPrivate(const String& name) const;
756 RawFunction* LookupFactory(const String& name) const; 757 RawFunction* LookupFactory(const String& name) const;
757 RawFunction* LookupFunction(const String& name) const; 758 RawFunction* LookupFunction(const String& name) const;
758 RawFunction* LookupFunctionAllowPrivate(const String& name) const; 759 RawFunction* LookupFunctionAllowPrivate(const String& name) const;
759 RawFunction* LookupGetterFunction(const String& name) const; 760 RawFunction* LookupGetterFunction(const String& name) const;
760 RawFunction* LookupSetterFunction(const String& name) const; 761 RawFunction* LookupSetterFunction(const String& name) const;
761 RawFunction* LookupFunctionAtToken(intptr_t token_pos) const; 762 RawFunction* LookupFunctionAtToken(intptr_t token_pos) const;
762 RawField* LookupInstanceField(const String& name) const; 763 RawField* LookupInstanceField(const String& name) const;
763 RawField* LookupStaticField(const String& name) const; 764 RawField* LookupStaticField(const String& name) const;
764 RawField* LookupField(const String& name) const; 765 RawField* LookupField(const String& name) const;
765 766
(...skipping 5597 matching lines...) Expand 10 before | Expand all | Expand 10 after
6363 6364
6364 6365
6365 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, 6366 RawObject* MegamorphicCache::GetTargetFunction(const Array& array,
6366 intptr_t index) { 6367 intptr_t index) {
6367 return array.At((index * kEntryLength) + kTargetFunctionIndex); 6368 return array.At((index * kEntryLength) + kTargetFunctionIndex);
6368 } 6369 }
6369 6370
6370 } // namespace dart 6371 } // namespace dart
6371 6372
6372 #endif // VM_OBJECT_H_ 6373 #endif // VM_OBJECT_H_
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_builder.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698