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

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

Issue 7129039: Merge r8230 from bleeding edge to 3.2 branch. (Closed) Base URL: http://v8.googlecode.com/svn/branches/3.2/
Patch Set: Created 9 years, 6 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 2115 matching lines...) Expand 10 before | Expand all | Expand 10 after
2126 DECLARE_CONCRETE_INSTRUCTION(AccessArgumentsAt, "access_arguments_at") 2126 DECLARE_CONCRETE_INSTRUCTION(AccessArgumentsAt, "access_arguments_at")
2127 2127
2128 virtual bool DataEquals(HValue* other) { return true; } 2128 virtual bool DataEquals(HValue* other) { return true; }
2129 }; 2129 };
2130 2130
2131 2131
2132 class HBoundsCheck: public HBinaryOperation { 2132 class HBoundsCheck: public HBinaryOperation {
2133 public: 2133 public:
2134 HBoundsCheck(HValue* index, HValue* length) 2134 HBoundsCheck(HValue* index, HValue* length)
2135 : HBinaryOperation(index, length) { 2135 : HBinaryOperation(index, length) {
2136 set_representation(Representation::Integer32());
2136 SetFlag(kUseGVN); 2137 SetFlag(kUseGVN);
2137 } 2138 }
2138 2139
2139 virtual bool IsCheckInstruction() const { return true; } 2140 virtual bool IsCheckInstruction() const { return true; }
2140 2141
2141 virtual Representation RequiredInputRepresentation(int index) const { 2142 virtual Representation RequiredInputRepresentation(int index) const {
2142 return Representation::Integer32(); 2143 return Representation::Integer32();
2143 } 2144 }
2144 2145
2145 #ifdef DEBUG 2146 #ifdef DEBUG
(...skipping 1524 matching lines...) Expand 10 before | Expand all | Expand 10 after
3670 HValue* object() { return left(); } 3671 HValue* object() { return left(); }
3671 HValue* key() { return right(); } 3672 HValue* key() { return right(); }
3672 }; 3673 };
3673 3674
3674 #undef DECLARE_INSTRUCTION 3675 #undef DECLARE_INSTRUCTION
3675 #undef DECLARE_CONCRETE_INSTRUCTION 3676 #undef DECLARE_CONCRETE_INSTRUCTION
3676 3677
3677 } } // namespace v8::internal 3678 } } // namespace v8::internal
3678 3679
3679 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ 3680 #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