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

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

Issue 1889583002: Fix build. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 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 | no next file » | 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 #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 4430 matching lines...) Expand 10 before | Expand all | Expand 10 after
4441 } 4441 }
4442 return false; 4442 return false;
4443 } 4443 }
4444 uword Hash() const { 4444 uword Hash() const {
4445 return key_.ComputeCanonicalTableHash(); 4445 return key_.ComputeCanonicalTableHash();
4446 } 4446 }
4447 const Instance& key_; 4447 const Instance& key_;
4448 4448
4449 private: 4449 private:
4450 DISALLOW_ALLOCATION(); 4450 DISALLOW_ALLOCATION();
4451 DISALLOW_COPY_AND_ASSIGN(CanonicalInstanceKey);
4452 }; 4451 };
4453 4452
4454 4453
4455 // Traits for looking up Canonical Instances based on a hash of the fields. 4454 // Traits for looking up Canonical Instances based on a hash of the fields.
4456 class CanonicalInstanceTraits { 4455 class CanonicalInstanceTraits {
4457 public: 4456 public:
4458 static const char* Name() { return "CanonicalInstanceTraits"; } 4457 static const char* Name() { return "CanonicalInstanceTraits"; }
4459 static bool ReportStats() { return false; } 4458 static bool ReportStats() { return false; }
4460 4459
4461 // Called when growing the table. 4460 // Called when growing the table.
(...skipping 17668 matching lines...) Expand 10 before | Expand all | Expand 10 after
22130 return UserTag::null(); 22129 return UserTag::null();
22131 } 22130 }
22132 22131
22133 22132
22134 const char* UserTag::ToCString() const { 22133 const char* UserTag::ToCString() const {
22135 const String& tag_label = String::Handle(label()); 22134 const String& tag_label = String::Handle(label());
22136 return tag_label.ToCString(); 22135 return tag_label.ToCString();
22137 } 22136 }
22138 22137
22139 } // namespace dart 22138 } // namespace dart
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698