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

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

Issue 2450713004: Make header include guards great again (Closed)
Patch Set: Fix header include guards Created 4 years, 1 month 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/message_handler.h ('k') | runtime/vm/metrics.h » ('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 #ifndef VM_METHOD_RECOGNIZER_H_ 5 #ifndef RUNTIME_VM_METHOD_RECOGNIZER_H_
6 #define VM_METHOD_RECOGNIZER_H_ 6 #define RUNTIME_VM_METHOD_RECOGNIZER_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 9
10 namespace dart { 10 namespace dart {
11 11
12 // (class-name, function-name, recognized enum, result type, fingerprint). 12 // (class-name, function-name, recognized enum, result type, fingerprint).
13 // When adding a new function add a 0 as fingerprint, build and run to get the 13 // When adding a new function add a 0 as fingerprint, build and run to get the
14 // correct fingerprint from the mismatch error. 14 // correct fingerprint from the mismatch error.
15 #define OTHER_RECOGNIZED_LIST(V) \ 15 #define OTHER_RECOGNIZED_LIST(V) \
16 V(::, identical, ObjectIdentical, Bool, 0x49c6e96a) \ 16 V(::, identical, ObjectIdentical, Bool, 0x49c6e96a) \
(...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after
552 552
553 // Class that recognizes factories and returns corresponding result cid. 553 // Class that recognizes factories and returns corresponding result cid.
554 class FactoryRecognizer : public AllStatic { 554 class FactoryRecognizer : public AllStatic {
555 public: 555 public:
556 // Return kDynamicCid if factory is not recognized. 556 // Return kDynamicCid if factory is not recognized.
557 static intptr_t ResultCid(const Function& factory); 557 static intptr_t ResultCid(const Function& factory);
558 }; 558 };
559 559
560 } // namespace dart 560 } // namespace dart
561 561
562 #endif // VM_METHOD_RECOGNIZER_H_ 562 #endif // RUNTIME_VM_METHOD_RECOGNIZER_H_
OLDNEW
« no previous file with comments | « runtime/vm/message_handler.h ('k') | runtime/vm/metrics.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698