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

Side by Side Diff: src/objects-inl.h

Issue 11642020: Fix compile warning. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years 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 | no next file » | 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 // 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 2803 matching lines...) Expand 10 before | Expand all | Expand 10 after
2814 } 2814 }
2815 2815
2816 2816
2817 void ConsStringIteratorOp::Reset() { 2817 void ConsStringIteratorOp::Reset() {
2818 depth_ = 0; 2818 depth_ = 0;
2819 } 2819 }
2820 2820
2821 2821
2822 String* ConsStringIteratorOp::ContinueOperation(int32_t* type_out, 2822 String* ConsStringIteratorOp::ContinueOperation(int32_t* type_out,
2823 unsigned* length_out) { 2823 unsigned* length_out) {
2824 bool blew_stack; 2824 bool blew_stack = false;
2825 String* string = NextLeaf(&blew_stack, type_out, length_out); 2825 String* string = NextLeaf(&blew_stack, type_out, length_out);
2826 // String found. 2826 // String found.
2827 if (string != NULL) { 2827 if (string != NULL) {
2828 // Verify output. 2828 // Verify output.
2829 ASSERT(*length_out == static_cast<unsigned>(string->length())); 2829 ASSERT(*length_out == static_cast<unsigned>(string->length()));
2830 ASSERT(*type_out == string->map()->instance_type()); 2830 ASSERT(*type_out == string->map()->instance_type());
2831 return string; 2831 return string;
2832 } 2832 }
2833 // Traversal complete. 2833 // Traversal complete.
2834 if (!blew_stack) return NULL; 2834 if (!blew_stack) return NULL;
(...skipping 2936 matching lines...) Expand 10 before | Expand all | Expand 10 after
5771 #undef WRITE_UINT32_FIELD 5771 #undef WRITE_UINT32_FIELD
5772 #undef READ_SHORT_FIELD 5772 #undef READ_SHORT_FIELD
5773 #undef WRITE_SHORT_FIELD 5773 #undef WRITE_SHORT_FIELD
5774 #undef READ_BYTE_FIELD 5774 #undef READ_BYTE_FIELD
5775 #undef WRITE_BYTE_FIELD 5775 #undef WRITE_BYTE_FIELD
5776 5776
5777 5777
5778 } } // namespace v8::internal 5778 } } // namespace v8::internal
5779 5779
5780 #endif // V8_OBJECTS_INL_H_ 5780 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698