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

Side by Side Diff: src/hydrogen-instructions.h

Issue 142253003: Fix printing of GVN flags. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 10 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 | « src/hydrogen-gvn.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after
475 475
476 // There must be one corresponding kDepends flag for every kChanges flag and 476 // There must be one corresponding kDepends flag for every kChanges flag and
477 // the order of the kChanges flags must be exactly the same as of the kDepends 477 // the order of the kChanges flags must be exactly the same as of the kDepends
478 // flags. All tracked flags should appear before untracked ones. 478 // flags. All tracked flags should appear before untracked ones.
479 enum GVNFlag { 479 enum GVNFlag {
480 // Declare global value numbering flags. 480 // Declare global value numbering flags.
481 #define DECLARE_FLAG(type) kChanges##type, kDependsOn##type, 481 #define DECLARE_FLAG(type) kChanges##type, kDependsOn##type,
482 GVN_TRACKED_FLAG_LIST(DECLARE_FLAG) 482 GVN_TRACKED_FLAG_LIST(DECLARE_FLAG)
483 GVN_UNTRACKED_FLAG_LIST(DECLARE_FLAG) 483 GVN_UNTRACKED_FLAG_LIST(DECLARE_FLAG)
484 #undef DECLARE_FLAG 484 #undef DECLARE_FLAG
485 kAfterLastFlag, 485 kNumberOfFlags,
486 kLastFlag = kAfterLastFlag - 1,
487 #define COUNT_FLAG(type) + 1 486 #define COUNT_FLAG(type) + 1
488 kNumberOfTrackedSideEffects = 0 GVN_TRACKED_FLAG_LIST(COUNT_FLAG) 487 kNumberOfTrackedSideEffects = 0 GVN_TRACKED_FLAG_LIST(COUNT_FLAG)
489 #undef COUNT_FLAG 488 #undef COUNT_FLAG
490 }; 489 };
491 490
492 491
493 class DecompositionResult V8_FINAL BASE_EMBEDDED { 492 class DecompositionResult V8_FINAL BASE_EMBEDDED {
494 public: 493 public:
495 DecompositionResult() : base_(NULL), offset_(0), scale_(0) {} 494 DecompositionResult() : base_(NULL), offset_(0), scale_(0) {}
496 495
(...skipping 6946 matching lines...) Expand 10 before | Expand all | Expand 10 after
7443 virtual bool IsDeletable() const V8_OVERRIDE { return true; } 7442 virtual bool IsDeletable() const V8_OVERRIDE { return true; }
7444 }; 7443 };
7445 7444
7446 7445
7447 #undef DECLARE_INSTRUCTION 7446 #undef DECLARE_INSTRUCTION
7448 #undef DECLARE_CONCRETE_INSTRUCTION 7447 #undef DECLARE_CONCRETE_INSTRUCTION
7449 7448
7450 } } // namespace v8::internal 7449 } } // namespace v8::internal
7451 7450
7452 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ 7451 #endif // V8_HYDROGEN_INSTRUCTIONS_H_
OLDNEW
« no previous file with comments | « src/hydrogen-gvn.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698