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

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

Issue 1581393008: Rename DART_PRECOMPILED -> DART_PRECOMPILED_RUNTIME (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: addressed comment Created 4 years, 11 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/dart_api_impl.cc ('k') | runtime/vm/stub_code.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 #include "vm/parser.h" 5 #include "vm/parser.h"
6 #include "vm/flags.h" 6 #include "vm/flags.h"
7 7
8 #ifndef DART_PRECOMPILED 8 #ifndef DART_PRECOMPILED_RUNTIME
9 9
10 #include "lib/invocation_mirror.h" 10 #include "lib/invocation_mirror.h"
11 #include "platform/utils.h" 11 #include "platform/utils.h"
12 #include "vm/ast_transformer.h" 12 #include "vm/ast_transformer.h"
13 #include "vm/bootstrap.h" 13 #include "vm/bootstrap.h"
14 #include "vm/class_finalizer.h" 14 #include "vm/class_finalizer.h"
15 #include "vm/compiler.h" 15 #include "vm/compiler.h"
16 #include "vm/compiler_stats.h" 16 #include "vm/compiler_stats.h"
17 #include "vm/dart_api_impl.h" 17 #include "vm/dart_api_impl.h"
18 #include "vm/dart_entry.h" 18 #include "vm/dart_entry.h"
(...skipping 14313 matching lines...) Expand 10 before | Expand all | Expand 10 after
14332 ConsumeToken(); 14332 ConsumeToken();
14333 if (CurrentToken() == Token::kPERIOD) { 14333 if (CurrentToken() == Token::kPERIOD) {
14334 ConsumeToken(); // Consume the kPERIOD token. 14334 ConsumeToken(); // Consume the kPERIOD token.
14335 ExpectIdentifier("identifier expected after '.'"); 14335 ExpectIdentifier("identifier expected after '.'");
14336 } 14336 }
14337 } 14337 }
14338 14338
14339 } // namespace dart 14339 } // namespace dart
14340 14340
14341 14341
14342 #else // DART_PRECOMPILED 14342 #else // DART_PRECOMPILED_RUNTIME
14343 14343
14344 14344
14345 namespace dart { 14345 namespace dart {
14346 14346
14347 DEFINE_FLAG(bool, enable_mirrors, true, 14347 DEFINE_FLAG(bool, enable_mirrors, true,
14348 "Disable to make importing dart:mirrors an error."); 14348 "Disable to make importing dart:mirrors an error.");
14349 DEFINE_FLAG(bool, load_deferred_eagerly, false, 14349 DEFINE_FLAG(bool, load_deferred_eagerly, false,
14350 "Load deferred libraries eagerly."); 14350 "Load deferred libraries eagerly.");
14351 DEFINE_FLAG(bool, link_natives_lazily, false, "Link native calls lazily"); 14351 DEFINE_FLAG(bool, link_natives_lazily, false, "Link native calls lazily");
14352 14352
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
14416 const String& function_name, 14416 const String& function_name,
14417 const ArgumentListNode& function_args, 14417 const ArgumentListNode& function_args,
14418 const LocalVariable* temp_for_last_arg, 14418 const LocalVariable* temp_for_last_arg,
14419 bool is_super_invocation) { 14419 bool is_super_invocation) {
14420 UNREACHABLE(); 14420 UNREACHABLE();
14421 return NULL; 14421 return NULL;
14422 } 14422 }
14423 14423
14424 } // namespace dart 14424 } // namespace dart
14425 14425
14426 #endif // DART_PRECOMPILED 14426 #endif // DART_PRECOMPILED_RUNTIME
OLDNEW
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | runtime/vm/stub_code.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698