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

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

Issue 1766573003: Clean up more flags using flag list. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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/flow_graph_allocator.cc ('k') | runtime/vm/verifier.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) 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 #ifndef VM_NATIVE_ARGUMENTS_H_ 5 #ifndef VM_NATIVE_ARGUMENTS_H_
6 #define VM_NATIVE_ARGUMENTS_H_ 6 #define VM_NATIVE_ARGUMENTS_H_
7 7
8 #include "platform/assert.h" 8 #include "platform/assert.h"
9 #include "platform/memory_sanitizer.h" 9 #include "platform/memory_sanitizer.h"
10 #include "vm/globals.h" 10 #include "vm/globals.h"
11 #include "vm/handles_impl.h" 11 #include "vm/handles_impl.h"
12 #include "vm/simulator.h" 12 #include "vm/simulator.h"
13 #include "vm/stub_code.h" 13 #include "vm/stub_code.h"
14 14
15 namespace dart { 15 namespace dart {
16 16
17 DECLARE_FLAG(bool, trace_natives); 17 DECLARE_FLAG(bool, trace_natives);
18 DECLARE_FLAG(bool, verify_on_transition);
19 18
20 // Forward declarations. 19 // Forward declarations.
21 class BootstrapNatives; 20 class BootstrapNatives;
22 class Object; 21 class Object;
23 class RawObject; 22 class RawObject;
24 class Simulator; 23 class Simulator;
25 class Thread; 24 class Thread;
26 25
27 #if defined(TESTING) || defined(DEBUG) 26 #if defined(TESTING) || defined(DEBUG)
28 27
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 235
237 Thread* thread_; // Current thread pointer. 236 Thread* thread_; // Current thread pointer.
238 intptr_t argc_tag_; // Encodes argument count and invoked native call type. 237 intptr_t argc_tag_; // Encodes argument count and invoked native call type.
239 RawObject*(*argv_)[]; // Pointer to an array of arguments to runtime call. 238 RawObject*(*argv_)[]; // Pointer to an array of arguments to runtime call.
240 RawObject** retval_; // Pointer to the return value area. 239 RawObject** retval_; // Pointer to the return value area.
241 }; 240 };
242 241
243 } // namespace dart 242 } // namespace dart
244 243
245 #endif // VM_NATIVE_ARGUMENTS_H_ 244 #endif // VM_NATIVE_ARGUMENTS_H_
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_allocator.cc ('k') | runtime/vm/verifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698