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

Side by Side Diff: vm/object.h

Issue 11265026: - Consolidate code into the old generation. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 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) 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 2408 matching lines...) Expand 10 before | Expand all | Expand 10 after
2419 return raw_ptr()->object_table_; 2419 return raw_ptr()->object_table_;
2420 } 2420 }
2421 void set_object_table(const Array& array) const; 2421 void set_object_table(const Array& array) const;
2422 2422
2423 RawArray* stackmaps() const { 2423 RawArray* stackmaps() const {
2424 return raw_ptr()->stackmaps_; 2424 return raw_ptr()->stackmaps_;
2425 } 2425 }
2426 void set_stackmaps(const Array& maps) const; 2426 void set_stackmaps(const Array& maps) const;
2427 RawStackmap* GetStackmap(uword pc, Array* stackmaps, Stackmap* map) const; 2427 RawStackmap* GetStackmap(uword pc, Array* stackmaps, Stackmap* map) const;
2428 2428
2429 RawGrowableObjectArray* resolved_static_calls() const {
2430 return raw_ptr()->resolved_static_calls_;
2431 }
2432 void set_resolved_static_calls(const GrowableObjectArray& val) const;
2433
2429 class Comments : public ZoneAllocated { 2434 class Comments : public ZoneAllocated {
2430 public: 2435 public:
2431 static Comments& New(intptr_t count); 2436 static Comments& New(intptr_t count);
2432 2437
2433 intptr_t Length() const; 2438 intptr_t Length() const;
2434 2439
2435 void SetPCOffsetAt(intptr_t idx, intptr_t pc_offset); 2440 void SetPCOffsetAt(intptr_t idx, intptr_t pc_offset);
2436 void SetCommentAt(intptr_t idx, const String& comment); 2441 void SetCommentAt(intptr_t idx, const String& comment);
2437 2442
2438 intptr_t PCOffsetAt(intptr_t idx) const; 2443 intptr_t PCOffsetAt(intptr_t idx) const;
(...skipping 3331 matching lines...) Expand 10 before | Expand all | Expand 10 after
5770 if (this->CharAt(i) != str.CharAt(begin_index + i)) { 5775 if (this->CharAt(i) != str.CharAt(begin_index + i)) {
5771 return false; 5776 return false;
5772 } 5777 }
5773 } 5778 }
5774 return true; 5779 return true;
5775 } 5780 }
5776 5781
5777 } // namespace dart 5782 } // namespace dart
5778 5783
5779 #endif // VM_OBJECT_H_ 5784 #endif // VM_OBJECT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698