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

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

Issue 10105026: Version 3.10.3 (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 8 years, 8 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-instructions.h ('k') | src/ia32/code-stubs-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 2254 matching lines...) Expand 10 before | Expand all | Expand 10 after
2265 #undef H_CONSTANT_DOUBLE 2265 #undef H_CONSTANT_DOUBLE
2266 2266
2267 2267
2268 void HIn::PrintDataTo(StringStream* stream) { 2268 void HIn::PrintDataTo(StringStream* stream) {
2269 key()->PrintNameTo(stream); 2269 key()->PrintNameTo(stream);
2270 stream->Add(" "); 2270 stream->Add(" ");
2271 object()->PrintNameTo(stream); 2271 object()->PrintNameTo(stream);
2272 } 2272 }
2273 2273
2274 2274
2275 void HBitwise::PrintDataTo(StringStream* stream) {
2276 stream->Add(Token::Name(op_));
2277 stream->Add(" ");
2278 HBitwiseBinaryOperation::PrintDataTo(stream);
2279 }
2280
2281
2275 Representation HPhi::InferredRepresentation() { 2282 Representation HPhi::InferredRepresentation() {
2276 bool double_occurred = false; 2283 bool double_occurred = false;
2277 bool int32_occurred = false; 2284 bool int32_occurred = false;
2278 for (int i = 0; i < OperandCount(); ++i) { 2285 for (int i = 0; i < OperandCount(); ++i) {
2279 HValue* value = OperandAt(i); 2286 HValue* value = OperandAt(i);
2280 if (value->IsUnknownOSRValue()) { 2287 if (value->IsUnknownOSRValue()) {
2281 HPhi* hint_value = HUnknownOSRValue::cast(value)->incoming_value(); 2288 HPhi* hint_value = HUnknownOSRValue::cast(value)->incoming_value();
2282 if (hint_value != NULL) { 2289 if (hint_value != NULL) {
2283 Representation hint = hint_value->representation(); 2290 Representation hint = hint_value->representation();
2284 if (hint.IsDouble()) double_occurred = true; 2291 if (hint.IsDouble()) double_occurred = true;
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
2352 2359
2353 2360
2354 void HCheckPrototypeMaps::Verify() { 2361 void HCheckPrototypeMaps::Verify() {
2355 HInstruction::Verify(); 2362 HInstruction::Verify();
2356 ASSERT(HasNoUses()); 2363 ASSERT(HasNoUses());
2357 } 2364 }
2358 2365
2359 #endif 2366 #endif
2360 2367
2361 } } // namespace v8::internal 2368 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/hydrogen-instructions.h ('k') | src/ia32/code-stubs-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698