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

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

Issue 2362573002: Move Zone's destructor out of a header file. (Closed)
Patch Set: . Created 4 years, 2 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 | « runtime/vm/profiler_service.cc ('k') | runtime/vm/zone.h » ('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 #include "vm/symbols.h" 5 #include "vm/symbols.h"
6 6
7 #include "vm/handles.h" 7 #include "vm/handles.h"
8 #include "vm/handles_impl.h"
9 #include "vm/hash_table.h" 8 #include "vm/hash_table.h"
10 #include "vm/isolate.h" 9 #include "vm/isolate.h"
11 #include "vm/object.h" 10 #include "vm/object.h"
12 #include "vm/object_store.h" 11 #include "vm/object_store.h"
13 #include "vm/raw_object.h" 12 #include "vm/raw_object.h"
14 #include "vm/reusable_handles.h" 13 #include "vm/reusable_handles.h"
15 #include "vm/snapshot_ids.h" 14 #include "vm/snapshot_ids.h"
16 #include "vm/unicode.h" 15 #include "vm/unicode.h"
17 #include "vm/visitor.h" 16 #include "vm/visitor.h"
18 17
(...skipping 719 matching lines...) Expand 10 before | Expand all | Expand 10 after
738 RawObject* Symbols::GetPredefinedSymbol(intptr_t object_id) { 737 RawObject* Symbols::GetPredefinedSymbol(intptr_t object_id) {
739 ASSERT(IsPredefinedSymbolId(object_id)); 738 ASSERT(IsPredefinedSymbolId(object_id));
740 intptr_t i = (object_id - kMaxPredefinedObjectIds); 739 intptr_t i = (object_id - kMaxPredefinedObjectIds);
741 if ((i > kIllegal) && (i < Symbols::kMaxPredefinedId)) { 740 if ((i > kIllegal) && (i < Symbols::kMaxPredefinedId)) {
742 return symbol_handles_[i]->raw(); 741 return symbol_handles_[i]->raw();
743 } 742 }
744 return Object::null(); 743 return Object::null();
745 } 744 }
746 745
747 } // namespace dart 746 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/profiler_service.cc ('k') | runtime/vm/zone.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698