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

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

Issue 6465023: Fix an assertion failure in stack trace construction. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 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 | « 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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 1684 matching lines...) Expand 10 before | Expand all | Expand 10 after
1695 virtual Range* InferRange(); 1695 virtual Range* InferRange();
1696 virtual Representation RequiredInputRepresentation(int index) const { 1696 virtual Representation RequiredInputRepresentation(int index) const {
1697 return representation(); 1697 return representation();
1698 } 1698 }
1699 virtual HType CalculateInferredType() const; 1699 virtual HType CalculateInferredType() const;
1700 virtual int OperandCount() const { return inputs_.length(); } 1700 virtual int OperandCount() const { return inputs_.length(); }
1701 virtual HValue* OperandAt(int index) const { return inputs_[index]; } 1701 virtual HValue* OperandAt(int index) const { return inputs_[index]; }
1702 HValue* GetRedundantReplacement() const; 1702 HValue* GetRedundantReplacement() const;
1703 void AddInput(HValue* value); 1703 void AddInput(HValue* value);
1704 1704
1705 bool HasReceiverOperand(); 1705 bool IsReceiver() { return merged_index_ == 0; }
1706 1706
1707 int merged_index() const { return merged_index_; } 1707 int merged_index() const { return merged_index_; }
1708 1708
1709 virtual const char* Mnemonic() const { return "phi"; } 1709 virtual const char* Mnemonic() const { return "phi"; }
1710 1710
1711 virtual void PrintTo(StringStream* stream) const; 1711 virtual void PrintTo(StringStream* stream) const;
1712 1712
1713 #ifdef DEBUG 1713 #ifdef DEBUG
1714 virtual void Verify(); 1714 virtual void Verify();
1715 #endif 1715 #endif
(...skipping 1478 matching lines...) Expand 10 before | Expand all | Expand 10 after
3194 HValue* object() const { return left(); } 3194 HValue* object() const { return left(); }
3195 HValue* key() const { return right(); } 3195 HValue* key() const { return right(); }
3196 }; 3196 };
3197 3197
3198 #undef DECLARE_INSTRUCTION 3198 #undef DECLARE_INSTRUCTION
3199 #undef DECLARE_CONCRETE_INSTRUCTION 3199 #undef DECLARE_CONCRETE_INSTRUCTION
3200 3200
3201 } } // namespace v8::internal 3201 } } // namespace v8::internal
3202 3202
3203 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ 3203 #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