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

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

Issue 2994863002: Reapply "Eliminate dependencies on assemblers and code stubs in precompiled runtime." (Closed)
Patch Set: Exclude references to disassembler in precompiled mode 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/ast_printer.cc ('k') | runtime/vm/block_scheduler.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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 #if !defined(DART_PRECOMPILED_RUNTIME)
6
5 #include "vm/ast_transformer.h" 7 #include "vm/ast_transformer.h"
6 8
7 #include "vm/object_store.h" 9 #include "vm/object_store.h"
8 #include "vm/parser.h" 10 #include "vm/parser.h"
9 #include "vm/thread.h" 11 #include "vm/thread.h"
10 12
11 namespace dart { 13 namespace dart {
12 14
13 // Quick access to the current thread. 15 // Quick access to the current thread.
14 #define T (thread()) 16 #define T (thread())
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 result_ = Transform(node->nodes()[last_node_index]); 490 result_ = Transform(node->nodes()[last_node_index]);
489 } 491 }
490 492
491 void AwaitTransformer::VisitThrowNode(ThrowNode* node) { 493 void AwaitTransformer::VisitThrowNode(ThrowNode* node) {
492 AstNode* new_exception = Transform(node->exception()); 494 AstNode* new_exception = Transform(node->exception());
493 result_ = MakeName( 495 result_ = MakeName(
494 new (Z) ThrowNode(node->token_pos(), new_exception, node->stacktrace())); 496 new (Z) ThrowNode(node->token_pos(), new_exception, node->stacktrace()));
495 } 497 }
496 498
497 } // namespace dart 499 } // namespace dart
500
501 #endif // !defined(DART_PRECOMPILED_RUNTIME)
OLDNEW
« no previous file with comments | « runtime/vm/ast_printer.cc ('k') | runtime/vm/block_scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698