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

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

Issue 9270010: Remove stray GVN flag in TransitionElementsKind (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 11 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 | « no previous file | no next file » | 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 4109 matching lines...) Expand 10 before | Expand all | Expand 10 after
4120 4120
4121 class HTransitionElementsKind: public HTemplateInstruction<1> { 4121 class HTransitionElementsKind: public HTemplateInstruction<1> {
4122 public: 4122 public:
4123 HTransitionElementsKind(HValue* object, 4123 HTransitionElementsKind(HValue* object,
4124 Handle<Map> original_map, 4124 Handle<Map> original_map,
4125 Handle<Map> transitioned_map) 4125 Handle<Map> transitioned_map)
4126 : original_map_(original_map), 4126 : original_map_(original_map),
4127 transitioned_map_(transitioned_map) { 4127 transitioned_map_(transitioned_map) {
4128 SetOperandAt(0, object); 4128 SetOperandAt(0, object);
4129 SetFlag(kUseGVN); 4129 SetFlag(kUseGVN);
4130 SetGVNFlag(kChangesMaps);
4131 SetGVNFlag(kChangesElementsKind); 4130 SetGVNFlag(kChangesElementsKind);
4132 set_representation(Representation::Tagged()); 4131 set_representation(Representation::Tagged());
4133 } 4132 }
4134 4133
4135 virtual Representation RequiredInputRepresentation(int index) { 4134 virtual Representation RequiredInputRepresentation(int index) {
4136 return Representation::Tagged(); 4135 return Representation::Tagged();
4137 } 4136 }
4138 4137
4139 HValue* object() { return OperandAt(0); } 4138 HValue* object() { return OperandAt(0); }
4140 Handle<Map> original_map() { return original_map_; } 4139 Handle<Map> original_map() { return original_map_; }
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
4552 4551
4553 DECLARE_CONCRETE_INSTRUCTION(In) 4552 DECLARE_CONCRETE_INSTRUCTION(In)
4554 }; 4553 };
4555 4554
4556 #undef DECLARE_INSTRUCTION 4555 #undef DECLARE_INSTRUCTION
4557 #undef DECLARE_CONCRETE_INSTRUCTION 4556 #undef DECLARE_CONCRETE_INSTRUCTION
4558 4557
4559 } } // namespace v8::internal 4558 } } // namespace v8::internal
4560 4559
4561 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ 4560 #endif // V8_HYDROGEN_INSTRUCTIONS_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698