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

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

Issue 14367018: Add monomorphic CompareNilICs and Crankshaft support (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Review feedback Created 7 years, 8 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/ia32/code-stubs-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 3916 matching lines...) Expand 10 before | Expand all | Expand 10 after
3927 3927
3928 HValue* left() { return OperandAt(0); } 3928 HValue* left() { return OperandAt(0); }
3929 HValue* right() { return OperandAt(1); } 3929 HValue* right() { return OperandAt(1); }
3930 3930
3931 virtual void PrintDataTo(StringStream* stream); 3931 virtual void PrintDataTo(StringStream* stream);
3932 3932
3933 virtual Representation RequiredInputRepresentation(int index) { 3933 virtual Representation RequiredInputRepresentation(int index) {
3934 return Representation::Tagged(); 3934 return Representation::Tagged();
3935 } 3935 }
3936 3936
3937 virtual Representation observed_input_representation(int index) {
3938 return Representation::Tagged();
3939 }
3940
3937 DECLARE_CONCRETE_INSTRUCTION(CompareObjectEqAndBranch) 3941 DECLARE_CONCRETE_INSTRUCTION(CompareObjectEqAndBranch)
3938 }; 3942 };
3939 3943
3940 3944
3941 class HCompareConstantEqAndBranch: public HUnaryControlInstruction { 3945 class HCompareConstantEqAndBranch: public HUnaryControlInstruction {
3942 public: 3946 public:
3943 HCompareConstantEqAndBranch(HValue* left, int right, Token::Value op) 3947 HCompareConstantEqAndBranch(HValue* left, int right, Token::Value op)
3944 : HUnaryControlInstruction(left, NULL, NULL), op_(op), right_(right) { 3948 : HUnaryControlInstruction(left, NULL, NULL), op_(op), right_(right) {
3945 ASSERT(op == Token::EQ_STRICT); 3949 ASSERT(op == Token::EQ_STRICT);
3946 } 3950 }
(...skipping 2544 matching lines...) Expand 10 before | Expand all | Expand 10 after
6491 virtual bool IsDeletable() const { return true; } 6495 virtual bool IsDeletable() const { return true; }
6492 }; 6496 };
6493 6497
6494 6498
6495 #undef DECLARE_INSTRUCTION 6499 #undef DECLARE_INSTRUCTION
6496 #undef DECLARE_CONCRETE_INSTRUCTION 6500 #undef DECLARE_CONCRETE_INSTRUCTION
6497 6501
6498 } } // namespace v8::internal 6502 } } // namespace v8::internal
6499 6503
6500 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ 6504 #endif // V8_HYDROGEN_INSTRUCTIONS_H_
OLDNEW
« no previous file with comments | « src/hydrogen.cc ('k') | src/ia32/code-stubs-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698