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

Side by Side Diff: src/arm/lithium-arm.h

Issue 13620003: Remove extranous holder load in some prototype-chain checking cases (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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 | « no previous file | src/arm/lithium-arm.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 2221 matching lines...) Expand 10 before | Expand all | Expand 10 after
2232 inputs_[0] = value; 2232 inputs_[0] = value;
2233 } 2233 }
2234 2234
2235 LOperand* value() { return inputs_[0]; } 2235 LOperand* value() { return inputs_[0]; }
2236 2236
2237 DECLARE_CONCRETE_INSTRUCTION(CheckMaps, "check-maps") 2237 DECLARE_CONCRETE_INSTRUCTION(CheckMaps, "check-maps")
2238 DECLARE_HYDROGEN_ACCESSOR(CheckMaps) 2238 DECLARE_HYDROGEN_ACCESSOR(CheckMaps)
2239 }; 2239 };
2240 2240
2241 2241
2242 class LCheckPrototypeMaps: public LTemplateInstruction<1, 0, 2> { 2242 class LCheckPrototypeMaps: public LTemplateInstruction<0, 0, 2> {
2243 public: 2243 public:
2244 LCheckPrototypeMaps(LOperand* temp, LOperand* temp2) { 2244 LCheckPrototypeMaps(LOperand* temp, LOperand* temp2) {
2245 temps_[0] = temp; 2245 temps_[0] = temp;
2246 temps_[1] = temp2; 2246 temps_[1] = temp2;
2247 } 2247 }
2248 2248
2249 LOperand* temp() { return temps_[0]; } 2249 LOperand* temp() { return temps_[0]; }
2250 LOperand* temp2() { return temps_[1]; } 2250 LOperand* temp2() { return temps_[1]; }
2251 2251
2252 DECLARE_CONCRETE_INSTRUCTION(CheckPrototypeMaps, "check-prototype-maps") 2252 DECLARE_CONCRETE_INSTRUCTION(CheckPrototypeMaps, "check-prototype-maps")
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
2735 2735
2736 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2736 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2737 }; 2737 };
2738 2738
2739 #undef DECLARE_HYDROGEN_ACCESSOR 2739 #undef DECLARE_HYDROGEN_ACCESSOR
2740 #undef DECLARE_CONCRETE_INSTRUCTION 2740 #undef DECLARE_CONCRETE_INSTRUCTION
2741 2741
2742 } } // namespace v8::internal 2742 } } // namespace v8::internal
2743 2743
2744 #endif // V8_ARM_LITHIUM_ARM_H_ 2744 #endif // V8_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/lithium-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698