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

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

Issue 12314155: Allow direct allocation in old pointer space. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 9 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/builtins-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 2645 matching lines...) Expand 10 before | Expand all | Expand 10 after
2656 } 2656 }
2657 2657
2658 2658
2659 HType HAllocate::CalculateInferredType() { 2659 HType HAllocate::CalculateInferredType() {
2660 return type_; 2660 return type_;
2661 } 2661 }
2662 2662
2663 2663
2664 void HAllocate::PrintDataTo(StringStream* stream) { 2664 void HAllocate::PrintDataTo(StringStream* stream) {
2665 size()->PrintNameTo(stream); 2665 size()->PrintNameTo(stream);
2666 if (!GuaranteedInNewSpace()) stream->Add(" (pretenure)");
2666 } 2667 }
2667 2668
2668 2669
2669 HType HFastLiteral::CalculateInferredType() { 2670 HType HFastLiteral::CalculateInferredType() {
2670 // TODO(mstarzinger): Be smarter, could also be JSArray here. 2671 // TODO(mstarzinger): Be smarter, could also be JSArray here.
2671 return HType::JSObject(); 2672 return HType::JSObject();
2672 } 2673 }
2673 2674
2674 2675
2675 HType HArrayLiteral::CalculateInferredType() { 2676 HType HArrayLiteral::CalculateInferredType() {
(...skipping 596 matching lines...) Expand 10 before | Expand all | Expand 10 after
3272 3273
3273 3274
3274 void HCheckFunction::Verify() { 3275 void HCheckFunction::Verify() {
3275 HInstruction::Verify(); 3276 HInstruction::Verify();
3276 ASSERT(HasNoUses()); 3277 ASSERT(HasNoUses());
3277 } 3278 }
3278 3279
3279 #endif 3280 #endif
3280 3281
3281 } } // namespace v8::internal 3282 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/hydrogen-instructions.h ('k') | src/ia32/builtins-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698