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

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

Issue 2997243002: Move all the isolate reload code under !defined(DART_PRECOMPILED_RUNTIME) (Closed)
Patch Set: Address code review comments. Created 3 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
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/runtime_entry.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) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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 "vm/hash_table.h" 7 #include "vm/hash_table.h"
8 #include "vm/isolate_reload.h" 8 #include "vm/isolate_reload.h"
9 #include "vm/log.h" 9 #include "vm/log.h"
10 #include "vm/resolver.h" 10 #include "vm/resolver.h"
11 #include "vm/symbols.h" 11 #include "vm/symbols.h"
12 12
13 namespace dart { 13 namespace dart {
14 14
15 #ifndef PRODUCT 15 #if !defined(PRODUCT) && !defined(DART_PRECOMPILED_RUNTIME)
16 16
17 DECLARE_FLAG(bool, trace_reload); 17 DECLARE_FLAG(bool, trace_reload);
18 DECLARE_FLAG(bool, trace_reload_verbose); 18 DECLARE_FLAG(bool, trace_reload_verbose);
19 DECLARE_FLAG(bool, two_args_smi_icd); 19 DECLARE_FLAG(bool, two_args_smi_icd);
20 20
21 class ObjectReloadUtils : public AllStatic { 21 class ObjectReloadUtils : public AllStatic {
22 static void DumpLibraryDictionary(const Library& lib) { 22 static void DumpLibraryDictionary(const Library& lib) {
23 DictionaryIterator it(lib); 23 DictionaryIterator it(lib);
24 Object& entry = Object::Handle(); 24 Object& entry = Object::Handle();
25 String& name = String::Handle(); 25 String& name = String::Handle();
(...skipping 730 matching lines...) Expand 10 before | Expand all | Expand 10 after
756 if (num_args == 2) { 756 if (num_args == 2) {
757 ClearWithSentinel(); 757 ClearWithSentinel();
758 } else { 758 } else {
759 const Array& data_array = 759 const Array& data_array =
760 Array::Handle(zone, CachedEmptyICDataArray(num_args)); 760 Array::Handle(zone, CachedEmptyICDataArray(num_args));
761 set_ic_data_array(data_array); 761 set_ic_data_array(data_array);
762 } 762 }
763 } 763 }
764 } 764 }
765 765
766 #endif // !PRODUCT 766 #endif // !defined(PRODUCT) && !defined(DART_PRECOMPILED_RUNTIME)
767 767
768 } // namespace dart. 768 } // namespace dart.
OLDNEW
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/runtime_entry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698