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

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

Issue 2944433003: [kernel] Add TokenPosition to AllocateObject, fix some cc tests (Closed)
Patch Set: Created 3 years, 6 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
OLDNEW
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, 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_BINARY_FLOWGRAPH_H_ 5 #ifndef RUNTIME_VM_KERNEL_BINARY_FLOWGRAPH_H_
6 #define RUNTIME_VM_KERNEL_BINARY_FLOWGRAPH_H_ 6 #define RUNTIME_VM_KERNEL_BINARY_FLOWGRAPH_H_
7 7
8 #if !defined(DART_PRECOMPILED_RUNTIME) 8 #if !defined(DART_PRECOMPILED_RUNTIME)
9 9
10 #include <map> 10 #include <map>
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
493 const dart::String& name, 493 const dart::String& name,
494 Token::Kind kind, 494 Token::Kind kind,
495 intptr_t argument_count, 495 intptr_t argument_count,
496 const Array& argument_names, 496 const Array& argument_names,
497 intptr_t num_args_checked); 497 intptr_t num_args_checked);
498 Fragment ThrowException(TokenPosition position); 498 Fragment ThrowException(TokenPosition position);
499 Fragment BooleanNegate(); 499 Fragment BooleanNegate();
500 Fragment TranslateInstantiatedTypeArguments( 500 Fragment TranslateInstantiatedTypeArguments(
501 const TypeArguments& type_arguments); 501 const TypeArguments& type_arguments);
502 Fragment StrictCompare(Token::Kind kind, bool number_check = false); 502 Fragment StrictCompare(Token::Kind kind, bool number_check = false);
503 Fragment AllocateObject(const dart::Class& klass, intptr_t argument_count); 503 Fragment AllocateObject(TokenPosition position,
504 const dart::Class& klass,
505 intptr_t argument_count);
504 Fragment StoreLocal(TokenPosition position, LocalVariable* variable); 506 Fragment StoreLocal(TokenPosition position, LocalVariable* variable);
505 Fragment StoreStaticField(TokenPosition position, const dart::Field& field); 507 Fragment StoreStaticField(TokenPosition position, const dart::Field& field);
506 Fragment StringInterpolate(TokenPosition position); 508 Fragment StringInterpolate(TokenPosition position);
507 Fragment StringInterpolateSingle(TokenPosition position); 509 Fragment StringInterpolateSingle(TokenPosition position);
508 Fragment ThrowTypeError(); 510 Fragment ThrowTypeError();
509 Fragment LoadInstantiatorTypeArguments(); 511 Fragment LoadInstantiatorTypeArguments();
510 Fragment LoadFunctionTypeArguments(); 512 Fragment LoadFunctionTypeArguments();
511 Fragment InstantiateType(const AbstractType& type); 513 Fragment InstantiateType(const AbstractType& type);
512 Fragment CreateArray(); 514 Fragment CreateArray();
513 Fragment StoreIndexed(intptr_t class_id); 515 Fragment StoreIndexed(intptr_t class_id);
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
654 private: 656 private:
655 Reader* reader_; 657 Reader* reader_;
656 intptr_t saved_offset_; 658 intptr_t saved_offset_;
657 }; 659 };
658 660
659 } // namespace kernel 661 } // namespace kernel
660 } // namespace dart 662 } // namespace dart
661 663
662 #endif // !defined(DART_PRECOMPILED_RUNTIME) 664 #endif // !defined(DART_PRECOMPILED_RUNTIME)
663 #endif // RUNTIME_VM_KERNEL_BINARY_FLOWGRAPH_H_ 665 #endif // RUNTIME_VM_KERNEL_BINARY_FLOWGRAPH_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698