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

Side by Side Diff: src/objects.h

Issue 8008: Minor cleanups. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 12 years, 2 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.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 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 3283 matching lines...) Expand 10 before | Expand all | Expand 10 after
3294 3294
3295 // Support for StringInputBuffer. 3295 // Support for StringInputBuffer.
3296 inline const unibrow::byte* ConsStringReadBlock(ReadBlockBuffer* buffer, 3296 inline const unibrow::byte* ConsStringReadBlock(ReadBlockBuffer* buffer,
3297 unsigned* offset_ptr, 3297 unsigned* offset_ptr,
3298 unsigned chars); 3298 unsigned chars);
3299 inline void ConsStringReadBlockIntoBuffer(ReadBlockBuffer* buffer, 3299 inline void ConsStringReadBlockIntoBuffer(ReadBlockBuffer* buffer,
3300 unsigned* offset_ptr, 3300 unsigned* offset_ptr,
3301 unsigned chars); 3301 unsigned chars);
3302 3302
3303 3303
3304 // Minimum lenth for a cons string. 3304 // Minimum length for a cons string.
3305 static const int kMinLength = 13; 3305 static const int kMinLength = 13;
3306 3306
3307 private: 3307 private:
3308 DISALLOW_IMPLICIT_CONSTRUCTORS(ConsString); 3308 DISALLOW_IMPLICIT_CONSTRUCTORS(ConsString);
3309 }; 3309 };
3310 3310
3311 3311
3312 // The SlicedString class describes string values that are slices of 3312 // The SlicedString class describes string values that are slices of
3313 // some other string. SlicedStrings consist of a reference to an 3313 // some other string. SlicedStrings consist of a reference to an
3314 // underlying heap-allocated string value, a start index, and the 3314 // underlying heap-allocated string value, a start index, and the
(...skipping 705 matching lines...) Expand 10 before | Expand all | Expand 10 after
4020 } else { 4020 } else {
4021 value &= ~(1 << bit_position); 4021 value &= ~(1 << bit_position);
4022 } 4022 }
4023 return value; 4023 return value;
4024 } 4024 }
4025 }; 4025 };
4026 4026
4027 } } // namespace v8::internal 4027 } } // namespace v8::internal
4028 4028
4029 #endif // V8_OBJECTS_H_ 4029 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « no previous file | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698