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

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

Issue 10105026: Version 3.10.3 (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 8 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/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 3335 matching lines...) Expand 10 before | Expand all | Expand 10 after
3346 virtual bool IsCommutative() const { return true; } 3346 virtual bool IsCommutative() const { return true; }
3347 3347
3348 virtual HValue* Canonicalize(); 3348 virtual HValue* Canonicalize();
3349 3349
3350 static HInstruction* NewHBitwise(Zone* zone, 3350 static HInstruction* NewHBitwise(Zone* zone,
3351 Token::Value op, 3351 Token::Value op,
3352 HValue* context, 3352 HValue* context,
3353 HValue* left, 3353 HValue* left,
3354 HValue* right); 3354 HValue* right);
3355 3355
3356 virtual void PrintDataTo(StringStream* stream);
3357
3356 DECLARE_CONCRETE_INSTRUCTION(Bitwise) 3358 DECLARE_CONCRETE_INSTRUCTION(Bitwise)
3357 3359
3358 protected: 3360 protected:
3359 virtual bool DataEquals(HValue* other) { 3361 virtual bool DataEquals(HValue* other) {
3360 return op() == HBitwise::cast(other)->op(); 3362 return op() == HBitwise::cast(other)->op();
3361 } 3363 }
3362 3364
3363 virtual Range* InferRange(Zone* zone); 3365 virtual Range* InferRange(Zone* zone);
3364 3366
3365 private: 3367 private:
(...skipping 1553 matching lines...) Expand 10 before | Expand all | Expand 10 after
4919 DECLARE_CONCRETE_INSTRUCTION(LoadFieldByIndex); 4921 DECLARE_CONCRETE_INSTRUCTION(LoadFieldByIndex);
4920 }; 4922 };
4921 4923
4922 4924
4923 #undef DECLARE_INSTRUCTION 4925 #undef DECLARE_INSTRUCTION
4924 #undef DECLARE_CONCRETE_INSTRUCTION 4926 #undef DECLARE_CONCRETE_INSTRUCTION
4925 4927
4926 } } // namespace v8::internal 4928 } } // namespace v8::internal
4927 4929
4928 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ 4930 #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