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

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

Issue 1698323003: Don't include ICData::owner_ in precompiled snapshots. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | runtime/vm/raw_object.h » ('j') | runtime/vm/raw_object_snapshot.cc » ('J')
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 #include "vm/object.h" 5 #include "vm/object.h"
6 6
7 #include "include/dart_api.h" 7 #include "include/dart_api.h"
8 #include "platform/assert.h" 8 #include "platform/assert.h"
9 #include "vm/assembler.h" 9 #include "vm/assembler.h"
10 #include "vm/cpu.h" 10 #include "vm/cpu.h"
(...skipping 11669 matching lines...) Expand 10 before | Expand all | Expand 10 after
11680 11680
11681 11681
11682 void ICData::SetOriginal(const ICData& value) const { 11682 void ICData::SetOriginal(const ICData& value) const {
11683 ASSERT(value.IsOriginal()); 11683 ASSERT(value.IsOriginal());
11684 ASSERT(!value.IsNull()); 11684 ASSERT(!value.IsNull());
11685 StorePointer(&raw_ptr()->owner_, reinterpret_cast<RawObject*>(value.raw())); 11685 StorePointer(&raw_ptr()->owner_, reinterpret_cast<RawObject*>(value.raw()));
11686 } 11686 }
11687 11687
11688 11688
11689 void ICData::set_owner(const Function& value) const { 11689 void ICData::set_owner(const Function& value) const {
11690 ASSERT(!value.IsNull());
11691 StorePointer(&raw_ptr()->owner_, reinterpret_cast<RawObject*>(value.raw())); 11690 StorePointer(&raw_ptr()->owner_, reinterpret_cast<RawObject*>(value.raw()));
11692 } 11691 }
11693 11692
11694 11693
11695 void ICData::set_target_name(const String& value) const { 11694 void ICData::set_target_name(const String& value) const {
11696 ASSERT(!value.IsNull()); 11695 ASSERT(!value.IsNull());
11697 StorePointer(&raw_ptr()->target_name_, value.raw()); 11696 StorePointer(&raw_ptr()->target_name_, value.raw());
11698 } 11697 }
11699 11698
11700 11699
(...skipping 9728 matching lines...) Expand 10 before | Expand all | Expand 10 after
21429 return UserTag::null(); 21428 return UserTag::null();
21430 } 21429 }
21431 21430
21432 21431
21433 const char* UserTag::ToCString() const { 21432 const char* UserTag::ToCString() const {
21434 const String& tag_label = String::Handle(label()); 21433 const String& tag_label = String::Handle(label());
21435 return tag_label.ToCString(); 21434 return tag_label.ToCString();
21436 } 21435 }
21437 21436
21438 } // namespace dart 21437 } // namespace dart
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/raw_object.h » ('j') | runtime/vm/raw_object_snapshot.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698