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

Side by Side Diff: src/string-stream.h

Issue 14862009: Encapsulating Type information in the CompareICStub (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 void Add(const char* format); 130 void Add(const char* format);
131 void Add(Vector<const char> format); 131 void Add(Vector<const char> format);
132 void Add(const char* format, FmtElm arg0); 132 void Add(const char* format, FmtElm arg0);
133 void Add(const char* format, FmtElm arg0, FmtElm arg1); 133 void Add(const char* format, FmtElm arg0, FmtElm arg1);
134 void Add(const char* format, FmtElm arg0, FmtElm arg1, FmtElm arg2); 134 void Add(const char* format, FmtElm arg0, FmtElm arg1, FmtElm arg2);
135 void Add(const char* format, 135 void Add(const char* format,
136 FmtElm arg0, 136 FmtElm arg0,
137 FmtElm arg1, 137 FmtElm arg1,
138 FmtElm arg2, 138 FmtElm arg2,
139 FmtElm arg3); 139 FmtElm arg3);
140 void Remove(unsigned num_of_chars);
140 141
141 // Getting the message out. 142 // Getting the message out.
142 void OutputToFile(FILE* out); 143 void OutputToFile(FILE* out);
143 void OutputToStdOut() { OutputToFile(stdout); } 144 void OutputToStdOut() { OutputToFile(stdout); }
144 void Log(); 145 void Log();
145 Handle<String> ToString(); 146 Handle<String> ToString();
146 SmartArrayPointer<const char> ToCString() const; 147 SmartArrayPointer<const char> ToCString() const;
147 int length() const { return length_; } 148 int length() const { return length_; }
148 149
149 // Object printing support. 150 // Object printing support.
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 bool full() const { return (capacity_ - length_) == 1; } 184 bool full() const { return (capacity_ - length_) == 1; }
184 int space() const { return capacity_ - length_; } 185 int space() const { return capacity_ - length_; }
185 186
186 DISALLOW_IMPLICIT_CONSTRUCTORS(StringStream); 187 DISALLOW_IMPLICIT_CONSTRUCTORS(StringStream);
187 }; 188 };
188 189
189 190
190 } } // namespace v8::internal 191 } } // namespace v8::internal
191 192
192 #endif // V8_STRING_STREAM_H_ 193 #endif // V8_STRING_STREAM_H_
OLDNEW
« src/code-stubs.cc ('K') | « src/objects.cc ('k') | src/string-stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698