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

Side by Side Diff: src/hydrogen-instructions.cc

Issue 18509003: Keep two empty lines between declarations for cpp files (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 7 years, 5 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/hydrogen-gvn.cc ('k') | src/ia32/assembler-ia32.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 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 1683 matching lines...) Expand 10 before | Expand all | Expand 10 after
1694 switch (check_) { 1694 switch (check_) {
1695 case IS_SPEC_OBJECT: return "object"; 1695 case IS_SPEC_OBJECT: return "object";
1696 case IS_JS_ARRAY: return "array"; 1696 case IS_JS_ARRAY: return "array";
1697 case IS_STRING: return "string"; 1697 case IS_STRING: return "string";
1698 case IS_INTERNALIZED_STRING: return "internalized_string"; 1698 case IS_INTERNALIZED_STRING: return "internalized_string";
1699 } 1699 }
1700 UNREACHABLE(); 1700 UNREACHABLE();
1701 return ""; 1701 return "";
1702 } 1702 }
1703 1703
1704
1704 void HCheckInstanceType::PrintDataTo(StringStream* stream) { 1705 void HCheckInstanceType::PrintDataTo(StringStream* stream) {
1705 stream->Add("%s ", GetCheckName()); 1706 stream->Add("%s ", GetCheckName());
1706 HUnaryOperation::PrintDataTo(stream); 1707 HUnaryOperation::PrintDataTo(stream);
1707 } 1708 }
1708 1709
1709 1710
1710 void HCheckPrototypeMaps::PrintDataTo(StringStream* stream) { 1711 void HCheckPrototypeMaps::PrintDataTo(StringStream* stream) {
1711 stream->Add("[receiver_prototype=%p,holder=%p]%s", 1712 stream->Add("[receiver_prototype=%p,holder=%p]%s",
1712 *prototypes_.first(), *prototypes_.last(), 1713 *prototypes_.first(), *prototypes_.last(),
1713 CanOmitPrototypeChecks() ? " (omitted)" : ""); 1714 CanOmitPrototypeChecks() ? " (omitted)" : "");
(...skipping 2172 matching lines...) Expand 10 before | Expand all | Expand 10 after
3886 case kBackingStore: 3887 case kBackingStore:
3887 if (!name_.is_null()) stream->Add(*String::cast(*name_)->ToCString()); 3888 if (!name_.is_null()) stream->Add(*String::cast(*name_)->ToCString());
3888 stream->Add("[backing-store]"); 3889 stream->Add("[backing-store]");
3889 break; 3890 break;
3890 } 3891 }
3891 3892
3892 stream->Add("@%d", offset()); 3893 stream->Add("@%d", offset());
3893 } 3894 }
3894 3895
3895 } } // namespace v8::internal 3896 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/hydrogen-gvn.cc ('k') | src/ia32/assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698