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

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

Issue 14472003: Merged r14169 into 3.17 branch. (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.17
Patch Set: adding the missing test 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.cc ('k') | src/hydrogen-instructions.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 1678 matching lines...) Expand 10 before | Expand all | Expand 10 after
1689 void AddPushedValue(HValue* value) { 1689 void AddPushedValue(HValue* value) {
1690 AddValue(kNoIndex, value); 1690 AddValue(kNoIndex, value);
1691 } 1691 }
1692 virtual int OperandCount() { return values_.length(); } 1692 virtual int OperandCount() { return values_.length(); }
1693 virtual HValue* OperandAt(int index) const { return values_[index]; } 1693 virtual HValue* OperandAt(int index) const { return values_[index]; }
1694 1694
1695 virtual Representation RequiredInputRepresentation(int index) { 1695 virtual Representation RequiredInputRepresentation(int index) {
1696 return Representation::None(); 1696 return Representation::None();
1697 } 1697 }
1698 1698
1699 void MergeInto(HSimulate* other); 1699 void MergeWith(ZoneList<HSimulate*>* list);
1700 bool is_candidate_for_removal() { return removable_ == REMOVABLE_SIMULATE; } 1700 bool is_candidate_for_removal() { return removable_ == REMOVABLE_SIMULATE; }
1701 1701
1702 DECLARE_CONCRETE_INSTRUCTION(Simulate) 1702 DECLARE_CONCRETE_INSTRUCTION(Simulate)
1703 1703
1704 #ifdef DEBUG 1704 #ifdef DEBUG
1705 virtual void Verify(); 1705 virtual void Verify();
1706 #endif 1706 #endif
1707 1707
1708 protected: 1708 protected:
1709 virtual void InternalSetOperandAt(int index, HValue* value) { 1709 virtual void InternalSetOperandAt(int index, HValue* value) {
(...skipping 4432 matching lines...) Expand 10 before | Expand all | Expand 10 after
6142 virtual bool IsDeletable() const { return true; } 6142 virtual bool IsDeletable() const { return true; }
6143 }; 6143 };
6144 6144
6145 6145
6146 #undef DECLARE_INSTRUCTION 6146 #undef DECLARE_INSTRUCTION
6147 #undef DECLARE_CONCRETE_INSTRUCTION 6147 #undef DECLARE_CONCRETE_INSTRUCTION
6148 6148
6149 } } // namespace v8::internal 6149 } } // namespace v8::internal
6150 6150
6151 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ 6151 #endif // V8_HYDROGEN_INSTRUCTIONS_H_
OLDNEW
« no previous file with comments | « src/hydrogen.cc ('k') | src/hydrogen-instructions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698