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

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

Issue 7860011: Rename SmartPointer to SmartArrayPointer. (Closed) Base URL: git://github.com/v8/v8.git@bleeding_edge
Patch Set: rebase it again to get more fixes Created 9 years, 3 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
« no previous file with comments | « src/hydrogen.cc ('k') | src/ia32/lithium-codegen-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 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 1115 matching lines...) Expand 10 before | Expand all | Expand 10 after
1126 if (OperandCount() == 0) return; 1126 if (OperandCount() == 0) return;
1127 OperandAt(0)->PrintNameTo(stream); 1127 OperandAt(0)->PrintNameTo(stream);
1128 for (int i = 1; i < OperandCount(); ++i) { 1128 for (int i = 1; i < OperandCount(); ++i) {
1129 stream->Add(" "); 1129 stream->Add(" ");
1130 OperandAt(i)->PrintNameTo(stream); 1130 OperandAt(i)->PrintNameTo(stream);
1131 } 1131 }
1132 } 1132 }
1133 1133
1134 1134
1135 void HEnterInlined::PrintDataTo(StringStream* stream) { 1135 void HEnterInlined::PrintDataTo(StringStream* stream) {
1136 SmartPointer<char> name = function()->debug_name()->ToCString(); 1136 SmartArrayPointer<char> name = function()->debug_name()->ToCString();
1137 stream->Add("%s, id=%d", *name, function()->id()); 1137 stream->Add("%s, id=%d", *name, function()->id());
1138 } 1138 }
1139 1139
1140 1140
1141 HConstant::HConstant(Handle<Object> handle, Representation r) 1141 HConstant::HConstant(Handle<Object> handle, Representation r)
1142 : handle_(handle), 1142 : handle_(handle),
1143 has_int32_value_(false), 1143 has_int32_value_(false),
1144 has_double_value_(false), 1144 has_double_value_(false),
1145 int32_value_(0), 1145 int32_value_(0),
1146 double_value_(0) { 1146 double_value_(0) {
(...skipping 732 matching lines...) Expand 10 before | Expand all | Expand 10 after
1879 1879
1880 1880
1881 void HCheckPrototypeMaps::Verify() { 1881 void HCheckPrototypeMaps::Verify() {
1882 HInstruction::Verify(); 1882 HInstruction::Verify();
1883 ASSERT(HasNoUses()); 1883 ASSERT(HasNoUses());
1884 } 1884 }
1885 1885
1886 #endif 1886 #endif
1887 1887
1888 } } // namespace v8::internal 1888 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/hydrogen.cc ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698