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

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

Issue 1992963002: Enable optimizer pipeline for DBC. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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/intermediate_language_dbc.cc ('k') | runtime/vm/parser.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_PARSER_H_ 5 #ifndef VM_PARSER_H_
6 #define VM_PARSER_H_ 6 #define VM_PARSER_H_
7 7
8 #include "include/dart_api.h" 8 #include "include/dart_api.h"
9 9
10 #include "platform/assert.h" 10 #include "platform/assert.h"
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 bool have_seen_await() const { return have_seen_await_expr_; } 223 bool have_seen_await() const { return have_seen_await_expr_; }
224 224
225 Thread* thread() const { return thread_; } 225 Thread* thread() const { return thread_; }
226 Isolate* isolate() const { return thread_->isolate(); } 226 Isolate* isolate() const { return thread_->isolate(); }
227 Zone* zone() const { return thread_->zone(); } 227 Zone* zone() const { return thread_->zone(); }
228 228
229 // Adds only relevant fields: field must be unique and its guarded_cid() 229 // Adds only relevant fields: field must be unique and its guarded_cid()
230 // relevant. 230 // relevant.
231 void AddToGuardedFields(const Field* field) const; 231 void AddToGuardedFields(const Field* field) const;
232 232
233 void Bailout(const char* origin, const char* reason) const;
234
233 private: 235 private:
234 Thread* thread_; 236 Thread* thread_;
235 const Function& function_; 237 const Function& function_;
236 Code& code_; 238 Code& code_;
237 SequenceNode* node_sequence_; 239 SequenceNode* node_sequence_;
238 RegExpCompileData* regexp_compile_data_; 240 RegExpCompileData* regexp_compile_data_;
239 LocalVariable* instantiator_; 241 LocalVariable* instantiator_;
240 LocalVariable* current_context_var_; 242 LocalVariable* current_context_var_;
241 LocalVariable* expression_temp_var_; 243 LocalVariable* expression_temp_var_;
242 LocalVariable* finally_return_temp_var_; 244 LocalVariable* finally_return_temp_var_;
(...skipping 736 matching lines...) Expand 10 before | Expand all | Expand 10 after
979 981
980 intptr_t recursion_counter_; 982 intptr_t recursion_counter_;
981 friend class RecursionChecker; 983 friend class RecursionChecker;
982 984
983 DISALLOW_COPY_AND_ASSIGN(Parser); 985 DISALLOW_COPY_AND_ASSIGN(Parser);
984 }; 986 };
985 987
986 } // namespace dart 988 } // namespace dart
987 989
988 #endif // VM_PARSER_H_ 990 #endif // VM_PARSER_H_
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language_dbc.cc ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698