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

Side by Side Diff: src/objects.h

Issue 7461126: Removing String::ToAsciiArray() since String::ToCString does a better job. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 4 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 | « no previous file | src/objects-printer.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 5933 matching lines...) Expand 10 before | Expand all | Expand 10 after
5944 // For use during stack traces. Performs rudimentary sanity check. 5944 // For use during stack traces. Performs rudimentary sanity check.
5945 bool LooksValid(); 5945 bool LooksValid();
5946 5946
5947 // Dispatched behavior. 5947 // Dispatched behavior.
5948 void StringShortPrint(StringStream* accumulator); 5948 void StringShortPrint(StringStream* accumulator);
5949 #ifdef OBJECT_PRINT 5949 #ifdef OBJECT_PRINT
5950 inline void StringPrint() { 5950 inline void StringPrint() {
5951 StringPrint(stdout); 5951 StringPrint(stdout);
5952 } 5952 }
5953 void StringPrint(FILE* out); 5953 void StringPrint(FILE* out);
5954
5955 char* ToAsciiArray();
5956 #endif 5954 #endif
5957 #ifdef DEBUG 5955 #ifdef DEBUG
5958 void StringVerify(); 5956 void StringVerify();
5959 #endif 5957 #endif
5960 inline bool IsFlat(); 5958 inline bool IsFlat();
5961 5959
5962 // Layout description. 5960 // Layout description.
5963 static const int kLengthOffset = HeapObject::kHeaderSize; 5961 static const int kLengthOffset = HeapObject::kHeaderSize;
5964 static const int kHashFieldOffset = kLengthOffset + kPointerSize; 5962 static const int kHashFieldOffset = kLengthOffset + kPointerSize;
5965 static const int kSize = kHashFieldOffset + kPointerSize; 5963 static const int kSize = kHashFieldOffset + kPointerSize;
(...skipping 1348 matching lines...) Expand 10 before | Expand all | Expand 10 after
7314 } else { 7312 } else {
7315 value &= ~(1 << bit_position); 7313 value &= ~(1 << bit_position);
7316 } 7314 }
7317 return value; 7315 return value;
7318 } 7316 }
7319 }; 7317 };
7320 7318
7321 } } // namespace v8::internal 7319 } } // namespace v8::internal
7322 7320
7323 #endif // V8_OBJECTS_H_ 7321 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « no previous file | src/objects-printer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698