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

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

Issue 10700162: Unbreak MSVC build by respecting explicit FmtElm constructor. This is (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 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 | « 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 1461 matching lines...) Expand 10 before | Expand all | Expand 10 after
1472 if (literal->IsString() && String::cast(*literal)->length() == 0) { 1472 if (literal->IsString() && String::cast(*literal)->length() == 0) {
1473 return false; 1473 return false;
1474 } 1474 }
1475 return true; 1475 return true;
1476 } 1476 }
1477 1477
1478 void HConstant::PrintDataTo(StringStream* stream) { 1478 void HConstant::PrintDataTo(StringStream* stream) {
1479 if (has_int32_value_) { 1479 if (has_int32_value_) {
1480 stream->Add("%d ", int32_value_); 1480 stream->Add("%d ", int32_value_);
1481 } else if (has_double_value_) { 1481 } else if (has_double_value_) {
1482 stream->Add("%lf ", double_value_); 1482 stream->Add("%lf ", FmtElm(double_value_));
1483 } else { 1483 } else {
1484 handle()->ShortPrint(stream); 1484 handle()->ShortPrint(stream);
1485 } 1485 }
1486 } 1486 }
1487 1487
1488 1488
1489 bool HArrayLiteral::IsCopyOnWrite() const { 1489 bool HArrayLiteral::IsCopyOnWrite() const {
1490 if (!boilerplate_object_->IsJSObject()) return false; 1490 if (!boilerplate_object_->IsJSObject()) return false;
1491 return Handle<JSObject>::cast(boilerplate_object_)->elements()->map() == 1491 return Handle<JSObject>::cast(boilerplate_object_)->elements()->map() ==
1492 HEAP->fixed_cow_array_map(); 1492 HEAP->fixed_cow_array_map();
(...skipping 1096 matching lines...) Expand 10 before | Expand all | Expand 10 after
2589 2589
2590 2590
2591 void HCheckPrototypeMaps::Verify() { 2591 void HCheckPrototypeMaps::Verify() {
2592 HInstruction::Verify(); 2592 HInstruction::Verify();
2593 ASSERT(HasNoUses()); 2593 ASSERT(HasNoUses());
2594 } 2594 }
2595 2595
2596 #endif 2596 #endif
2597 2597
2598 } } // namespace v8::internal 2598 } } // namespace v8::internal
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