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

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

Issue 14847013: Remove obsolete HArrayLiteral instruction. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments by Ulan Degenbaev. Created 7 years, 7 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/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 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 2982 matching lines...) Expand 10 before | Expand all | Expand 10 after
2993 return type_; 2993 return type_;
2994 } 2994 }
2995 2995
2996 2996
2997 void HAllocate::PrintDataTo(StringStream* stream) { 2997 void HAllocate::PrintDataTo(StringStream* stream) {
2998 size()->PrintNameTo(stream); 2998 size()->PrintNameTo(stream);
2999 if (!GuaranteedInNewSpace()) stream->Add(" (pretenure)"); 2999 if (!GuaranteedInNewSpace()) stream->Add(" (pretenure)");
3000 } 3000 }
3001 3001
3002 3002
3003 HType HArrayLiteral::CalculateInferredType() {
3004 return HType::JSArray();
3005 }
3006
3007
3008 HType HRegExpLiteral::CalculateInferredType() { 3003 HType HRegExpLiteral::CalculateInferredType() {
3009 return HType::JSObject(); 3004 return HType::JSObject();
3010 } 3005 }
3011 3006
3012 3007
3013 HType HFunctionLiteral::CalculateInferredType() { 3008 HType HFunctionLiteral::CalculateInferredType() {
3014 return HType::JSObject(); 3009 return HType::JSObject();
3015 } 3010 }
3016 3011
3017 3012
(...skipping 599 matching lines...) Expand 10 before | Expand all | Expand 10 after
3617 3612
3618 3613
3619 void HCheckFunction::Verify() { 3614 void HCheckFunction::Verify() {
3620 HInstruction::Verify(); 3615 HInstruction::Verify();
3621 ASSERT(HasNoUses()); 3616 ASSERT(HasNoUses());
3622 } 3617 }
3623 3618
3624 #endif 3619 #endif
3625 3620
3626 } } // namespace v8::internal 3621 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/hydrogen-instructions.h ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698