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

Side by Side Diff: runtime/vm/isolate_reload.h

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/isolate.cc ('k') | runtime/vm/isolate_reload.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 #ifndef RUNTIME_VM_ISOLATE_RELOAD_H_ 5 #ifndef RUNTIME_VM_ISOLATE_RELOAD_H_
6 #define RUNTIME_VM_ISOLATE_RELOAD_H_ 6 #define RUNTIME_VM_ISOLATE_RELOAD_H_
7 7
8 #include "include/dart_tools_api.h" 8 #include "include/dart_tools_api.h"
9 9
10 #include "vm/globals.h" 10 #include "vm/globals.h"
(...skipping 16 matching lines...) Expand all
27 27
28 // 'Verbose Trace Isolate Reload' VTIR_Print 28 // 'Verbose Trace Isolate Reload' VTIR_Print
29 #if defined(_MSC_VER) 29 #if defined(_MSC_VER)
30 #define VTIR_Print(format, ...) \ 30 #define VTIR_Print(format, ...) \
31 if (FLAG_trace_reload_verbose) Log::Current()->Print(format, __VA_ARGS__) 31 if (FLAG_trace_reload_verbose) Log::Current()->Print(format, __VA_ARGS__)
32 #else 32 #else
33 #define VTIR_Print(format, ...) \ 33 #define VTIR_Print(format, ...) \
34 if (FLAG_trace_reload_verbose) Log::Current()->Print(format, ##__VA_ARGS__) 34 if (FLAG_trace_reload_verbose) Log::Current()->Print(format, ##__VA_ARGS__)
35 #endif 35 #endif
36 36
37 #if !defined(PRODUCT) && !defined(DART_PRECOMPILED_RUNTIME)
38
37 namespace dart { 39 namespace dart {
38 40
39 class BitVector; 41 class BitVector;
40 class GrowableObjectArray; 42 class GrowableObjectArray;
41 class Isolate; 43 class Isolate;
42 class Library; 44 class Library;
43 class ObjectPointerVisitor; 45 class ObjectPointerVisitor;
44 class ObjectStore; 46 class ObjectStore;
45 class RawError; 47 class RawError;
46 class RawGrowableObjectArray; 48 class RawGrowableObjectArray;
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 friend class Library; 354 friend class Library;
353 friend class ObjectLocator; 355 friend class ObjectLocator;
354 friend class MarkFunctionsForRecompilation; // IsDirty. 356 friend class MarkFunctionsForRecompilation; // IsDirty.
355 friend class ReasonForCancelling; 357 friend class ReasonForCancelling;
356 358
357 static Dart_FileModifiedCallback file_modified_callback_; 359 static Dart_FileModifiedCallback file_modified_callback_;
358 }; 360 };
359 361
360 } // namespace dart 362 } // namespace dart
361 363
364 #endif // !defined(PRODUCT) && !defined(DART_PRECOMPILED_RUNTIME)
365
362 #endif // RUNTIME_VM_ISOLATE_RELOAD_H_ 366 #endif // RUNTIME_VM_ISOLATE_RELOAD_H_
OLDNEW
« no previous file with comments | « runtime/vm/isolate.cc ('k') | runtime/vm/isolate_reload.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698