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

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

Issue 12208065: Merged r12822 into 3.14 branch. (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.14
Patch Set: Created 7 years, 10 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 | « AUTHORS ('k') | src/version.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 4789 matching lines...) Expand 10 before | Expand all | Expand 10 after
4800 }; 4800 };
4801 4801
4802 4802
4803 class HStringAdd: public HBinaryOperation { 4803 class HStringAdd: public HBinaryOperation {
4804 public: 4804 public:
4805 HStringAdd(HValue* context, HValue* left, HValue* right) 4805 HStringAdd(HValue* context, HValue* left, HValue* right)
4806 : HBinaryOperation(context, left, right) { 4806 : HBinaryOperation(context, left, right) {
4807 set_representation(Representation::Tagged()); 4807 set_representation(Representation::Tagged());
4808 SetFlag(kUseGVN); 4808 SetFlag(kUseGVN);
4809 SetGVNFlag(kDependsOnMaps); 4809 SetGVNFlag(kDependsOnMaps);
4810 SetGVNFlag(kChangesNewSpacePromotion);
4810 } 4811 }
4811 4812
4812 virtual Representation RequiredInputRepresentation(int index) { 4813 virtual Representation RequiredInputRepresentation(int index) {
4813 return Representation::Tagged(); 4814 return Representation::Tagged();
4814 } 4815 }
4815 4816
4816 virtual HType CalculateInferredType() { 4817 virtual HType CalculateInferredType() {
4817 return HType::String(); 4818 return HType::String();
4818 } 4819 }
4819 4820
(...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after
5414 virtual bool IsDeletable() const { return true; } 5415 virtual bool IsDeletable() const { return true; }
5415 }; 5416 };
5416 5417
5417 5418
5418 #undef DECLARE_INSTRUCTION 5419 #undef DECLARE_INSTRUCTION
5419 #undef DECLARE_CONCRETE_INSTRUCTION 5420 #undef DECLARE_CONCRETE_INSTRUCTION
5420 5421
5421 } } // namespace v8::internal 5422 } } // namespace v8::internal
5422 5423
5423 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ 5424 #endif // V8_HYDROGEN_INSTRUCTIONS_H_
OLDNEW
« no previous file with comments | « AUTHORS ('k') | src/version.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698