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

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

Issue 2979163002: Allow setting breakpoints in function literal field initializers under --dfe. (Closed)
Patch Set: Address comments on patch set 2 Created 3 years, 5 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/kernel_reader.cc ('k') | runtime/vm/kernel_to_il.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_KERNEL_TO_IL_H_ 5 #ifndef RUNTIME_VM_KERNEL_TO_IL_H_
6 #define RUNTIME_VM_KERNEL_TO_IL_H_ 6 #define RUNTIME_VM_KERNEL_TO_IL_H_
7 7
8 #if !defined(DART_PRECOMPILED_RUNTIME) 8 #if !defined(DART_PRECOMPILED_RUNTIME)
9 9
10 #include "vm/growable_array.h" 10 #include "vm/growable_array.h"
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 ~ActiveMemberScope() { *active_class_ = saved_; } 255 ~ActiveMemberScope() { *active_class_ = saved_; }
256 256
257 private: 257 private:
258 ActiveClass* active_class_; 258 ActiveClass* active_class_;
259 ActiveClass saved_; 259 ActiveClass saved_;
260 }; 260 };
261 261
262 class TranslationHelper { 262 class TranslationHelper {
263 public: 263 public:
264 explicit TranslationHelper(dart::Thread* thread); 264 explicit TranslationHelper(dart::Thread* thread);
265
266 TranslationHelper(dart::Thread* thread,
267 dart::RawTypedData* string_offsets,
268 dart::RawTypedData* string_data,
269 dart::RawTypedData* canonical_names);
270
265 virtual ~TranslationHelper() {} 271 virtual ~TranslationHelper() {}
266 272
267 Thread* thread() { return thread_; } 273 Thread* thread() { return thread_; }
268 274
269 Zone* zone() { return zone_; } 275 Zone* zone() { return zone_; }
270 276
271 Isolate* isolate() { return isolate_; } 277 Isolate* isolate() { return isolate_; }
272 278
273 Heap::Space allocation_space() { return allocation_space_; } 279 Heap::Space allocation_space() { return allocation_space_; }
274 280
(...skipping 672 matching lines...) Expand 10 before | Expand all | Expand 10 after
947 namespace kernel { 953 namespace kernel {
948 954
949 RawObject* EvaluateMetadata(const dart::Field& metadata_field); 955 RawObject* EvaluateMetadata(const dart::Field& metadata_field);
950 RawObject* BuildParameterDescriptor(const Function& function); 956 RawObject* BuildParameterDescriptor(const Function& function);
951 957
952 } // namespace kernel 958 } // namespace kernel
953 } // namespace dart 959 } // namespace dart
954 960
955 #endif // !defined(DART_PRECOMPILED_RUNTIME) 961 #endif // !defined(DART_PRECOMPILED_RUNTIME)
956 #endif // RUNTIME_VM_KERNEL_TO_IL_H_ 962 #endif // RUNTIME_VM_KERNEL_TO_IL_H_
OLDNEW
« no previous file with comments | « runtime/vm/kernel_reader.cc ('k') | runtime/vm/kernel_to_il.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698