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

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

Issue 334763003: Start using OStreams. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased. Reformatted. Feedback addressed. Created 6 years, 5 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') | src/hydrogen-instructions.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_HYDROGEN_INSTRUCTIONS_H_ 5 #ifndef V8_HYDROGEN_INSTRUCTIONS_H_
6 #define V8_HYDROGEN_INSTRUCTIONS_H_ 6 #define V8_HYDROGEN_INSTRUCTIONS_H_
7 7
8 #include "src/v8.h" 8 #include "src/v8.h"
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 909 matching lines...) Expand 10 before | Expand all | Expand 10 after
920 GVNFlagSet changes_flags_; 920 GVNFlagSet changes_flags_;
921 GVNFlagSet depends_on_flags_; 921 GVNFlagSet depends_on_flags_;
922 922
923 private: 923 private:
924 virtual bool IsDeletable() const { return false; } 924 virtual bool IsDeletable() const { return false; }
925 925
926 DISALLOW_COPY_AND_ASSIGN(HValue); 926 DISALLOW_COPY_AND_ASSIGN(HValue);
927 }; 927 };
928 928
929 929
930 OStream& operator<<(OStream& os, const HValue& v);
931
932
930 #define DECLARE_INSTRUCTION_FACTORY_P0(I) \ 933 #define DECLARE_INSTRUCTION_FACTORY_P0(I) \
931 static I* New(Zone* zone, HValue* context) { \ 934 static I* New(Zone* zone, HValue* context) { \
932 return new(zone) I(); \ 935 return new(zone) I(); \
933 } 936 }
934 937
935 #define DECLARE_INSTRUCTION_FACTORY_P1(I, P1) \ 938 #define DECLARE_INSTRUCTION_FACTORY_P1(I, P1) \
936 static I* New(Zone* zone, HValue* context, P1 p1) { \ 939 static I* New(Zone* zone, HValue* context, P1 p1) { \
937 return new(zone) I(p1); \ 940 return new(zone) I(p1); \
938 } 941 }
939 942
(...skipping 6847 matching lines...) Expand 10 before | Expand all | Expand 10 after
7787 }; 7790 };
7788 7791
7789 7792
7790 7793
7791 #undef DECLARE_INSTRUCTION 7794 #undef DECLARE_INSTRUCTION
7792 #undef DECLARE_CONCRETE_INSTRUCTION 7795 #undef DECLARE_CONCRETE_INSTRUCTION
7793 7796
7794 } } // namespace v8::internal 7797 } } // namespace v8::internal
7795 7798
7796 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ 7799 #endif // V8_HYDROGEN_INSTRUCTIONS_H_
OLDNEW
« no previous file with comments | « src/hydrogen-gvn.cc ('k') | src/hydrogen-instructions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698