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

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

Issue 1136163002: Some more cleanup of the finger print checking code. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 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 | Annotate | Revision Log
« no previous file with comments | « runtime/vm/flow_graph_builder.cc ('k') | runtime/vm/object.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 VM_METHOD_RECOGNIZER_H_
6 #define VM_METHOD_RECOGNIZER_H_ 6 #define VM_METHOD_RECOGNIZER_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 9
10 namespace dart { 10 namespace dart {
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 static Kind RecognizeKind(const Function& function); 454 static Kind RecognizeKind(const Function& function);
455 static bool AlwaysInline(const Function& function); 455 static bool AlwaysInline(const Function& function);
456 static bool PolymorphicTarget(const Function& function); 456 static bool PolymorphicTarget(const Function& function);
457 static const char* KindToCString(Kind kind); 457 static const char* KindToCString(Kind kind);
458 #if defined(DART_NO_SNAPSHOT) 458 #if defined(DART_NO_SNAPSHOT)
459 static void InitializeState(); 459 static void InitializeState();
460 #endif // defined(DART_NO_SNAPSHOT). 460 #endif // defined(DART_NO_SNAPSHOT).
461 }; 461 };
462 462
463 463
464 #if defined(DART_NO_SNAPSHOT)
464 #define CHECK_FINGERPRINT2(f, p0, p1, fp) \ 465 #define CHECK_FINGERPRINT2(f, p0, p1, fp) \
465 ASSERT(f.CheckSourceFingerprint(#p0 ", " #p1, fp)) 466 ASSERT(f.CheckSourceFingerprint(#p0 ", " #p1, fp))
466 467
467 #define CHECK_FINGERPRINT3(f, p0, p1, p2, fp) \ 468 #define CHECK_FINGERPRINT3(f, p0, p1, p2, fp) \
468 ASSERT(f.CheckSourceFingerprint(#p0 ", " #p1 ", " #p2, fp)) 469 ASSERT(f.CheckSourceFingerprint(#p0 ", " #p1 ", " #p2, fp))
470 #endif // defined(DART_NO_SNAPSHOT).
469 471
470 472
471 } // namespace dart 473 } // namespace dart
472 474
473 #endif // VM_METHOD_RECOGNIZER_H_ 475 #endif // VM_METHOD_RECOGNIZER_H_
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_builder.cc ('k') | runtime/vm/object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698