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

Side by Side Diff: src/objects.h

Issue 7710018: Fix typo in assert. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Readded missing test 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 | « src/jsregexp.cc ('k') | src/objects.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 5901 matching lines...) Expand 10 before | Expand all | Expand 10 after
5912 // Convenience function. Has exactly the same behavior as 5912 // Convenience function. Has exactly the same behavior as
5913 // TryFlatten(), except in the case of failure returns the original 5913 // TryFlatten(), except in the case of failure returns the original
5914 // string. 5914 // string.
5915 inline String* TryFlattenGetString(PretenureFlag pretenure = NOT_TENURED); 5915 inline String* TryFlattenGetString(PretenureFlag pretenure = NOT_TENURED);
5916 5916
5917 // Tries to return the content of a flat string as a structure holding either 5917 // Tries to return the content of a flat string as a structure holding either
5918 // a flat vector of char or of uc16. 5918 // a flat vector of char or of uc16.
5919 // If the string isn't flat, and therefore doesn't have flat content, the 5919 // If the string isn't flat, and therefore doesn't have flat content, the
5920 // returned structure will report so, and can't provide a vector of either 5920 // returned structure will report so, and can't provide a vector of either
5921 // kind. 5921 // kind.
5922 FlatContent GetFlatContent(const AssertNoAllocation& safety_promise); 5922 FlatContent GetFlatContent();
5923 5923
5924 // Mark the string as an undetectable object. It only applies to 5924 // Mark the string as an undetectable object. It only applies to
5925 // ascii and two byte string types. 5925 // ascii and two byte string types.
5926 bool MarkAsUndetectable(); 5926 bool MarkAsUndetectable();
5927 5927
5928 // Return a substring. 5928 // Return a substring.
5929 MUST_USE_RESULT MaybeObject* SubString(int from, 5929 MUST_USE_RESULT MaybeObject* SubString(int from,
5930 int to, 5930 int to,
5931 PretenureFlag pretenure = NOT_TENURED); 5931 PretenureFlag pretenure = NOT_TENURED);
5932 5932
(...skipping 1430 matching lines...) Expand 10 before | Expand all | Expand 10 after
7363 } else { 7363 } else {
7364 value &= ~(1 << bit_position); 7364 value &= ~(1 << bit_position);
7365 } 7365 }
7366 return value; 7366 return value;
7367 } 7367 }
7368 }; 7368 };
7369 7369
7370 } } // namespace v8::internal 7370 } } // namespace v8::internal
7371 7371
7372 #endif // V8_OBJECTS_H_ 7372 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/jsregexp.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698