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

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

Issue 11338030: Improve handling of property loads on the proto chain. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Added unit test Created 8 years, 1 month 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/x64/lithium-codegen-x64.cc ('k') | src/x64/lithium-x64.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 2092 matching lines...) Expand 10 before | Expand all | Expand 10 after
2103 inputs_[0] = value; 2103 inputs_[0] = value;
2104 } 2104 }
2105 2105
2106 LOperand* value() { return inputs_[0]; } 2106 LOperand* value() { return inputs_[0]; }
2107 2107
2108 DECLARE_CONCRETE_INSTRUCTION(CheckMaps, "check-maps") 2108 DECLARE_CONCRETE_INSTRUCTION(CheckMaps, "check-maps")
2109 DECLARE_HYDROGEN_ACCESSOR(CheckMaps) 2109 DECLARE_HYDROGEN_ACCESSOR(CheckMaps)
2110 }; 2110 };
2111 2111
2112 2112
2113 class LCheckPrototypeMaps: public LTemplateInstruction<0, 0, 1> { 2113 class LCheckPrototypeMaps: public LTemplateInstruction<1, 0, 1> {
2114 public: 2114 public:
2115 explicit LCheckPrototypeMaps(LOperand* temp) { 2115 explicit LCheckPrototypeMaps(LOperand* temp) {
2116 temps_[0] = temp; 2116 temps_[0] = temp;
2117 } 2117 }
2118 2118
2119 LOperand* temp() { return temps_[0]; } 2119 LOperand* temp() { return temps_[0]; }
2120 2120
2121 DECLARE_CONCRETE_INSTRUCTION(CheckPrototypeMaps, "check-prototype-maps") 2121 DECLARE_CONCRETE_INSTRUCTION(CheckPrototypeMaps, "check-prototype-maps")
2122 DECLARE_HYDROGEN_ACCESSOR(CheckPrototypeMaps) 2122 DECLARE_HYDROGEN_ACCESSOR(CheckPrototypeMaps)
2123 2123
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
2567 2567
2568 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2568 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2569 }; 2569 };
2570 2570
2571 #undef DECLARE_HYDROGEN_ACCESSOR 2571 #undef DECLARE_HYDROGEN_ACCESSOR
2572 #undef DECLARE_CONCRETE_INSTRUCTION 2572 #undef DECLARE_CONCRETE_INSTRUCTION
2573 2573
2574 } } // namespace v8::int 2574 } } // namespace v8::int
2575 2575
2576 #endif // V8_X64_LITHIUM_X64_H_ 2576 #endif // V8_X64_LITHIUM_X64_H_
OLDNEW
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | src/x64/lithium-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698