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

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

Issue 10854176: - Merge function lists when patching classes (no more duplicates). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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/dart_api_impl_test.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 656 matching lines...) Expand 10 before | Expand all | Expand 10 after
667 667
668 RawCode* allocation_stub() const { 668 RawCode* allocation_stub() const {
669 return raw_ptr()->allocation_stub_; 669 return raw_ptr()->allocation_stub_;
670 } 670 }
671 void set_allocation_stub(const Code& value) const; 671 void set_allocation_stub(const Code& value) const;
672 672
673 RawArray* constants() const; 673 RawArray* constants() const;
674 674
675 void Finalize() const; 675 void Finalize() const;
676 676
677 void ApplyPatch(const Class& patch) const; 677 const char* ApplyPatch(const Class& patch) const;
678 678
679 // Allocate a class used for VM internal objects. 679 // Allocate a class used for VM internal objects.
680 template <class FakeObject> static RawClass* New(); 680 template <class FakeObject> static RawClass* New();
681 681
682 // Allocate instance classes and interfaces. 682 // Allocate instance classes and interfaces.
683 static RawClass* New(const String& name, 683 static RawClass* New(const String& name,
684 const Script& script, 684 const Script& script,
685 intptr_t token_pos); 685 intptr_t token_pos);
686 static RawClass* NewInterface(const String& name, 686 static RawClass* NewInterface(const String& name,
687 const Script& script, 687 const Script& script,
(...skipping 4826 matching lines...) Expand 10 before | Expand all | Expand 10 after
5514 if (this->CharAt(i) != str.CharAt(begin_index + i)) { 5514 if (this->CharAt(i) != str.CharAt(begin_index + i)) {
5515 return false; 5515 return false;
5516 } 5516 }
5517 } 5517 }
5518 return true; 5518 return true;
5519 } 5519 }
5520 5520
5521 } // namespace dart 5521 } // namespace dart
5522 5522
5523 #endif // VM_OBJECT_H_ 5523 #endif // VM_OBJECT_H_
OLDNEW
« no previous file with comments | « runtime/vm/dart_api_impl_test.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698