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

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

Issue 458813002: Prototype implementation of GET_OWN_PROPERTY intrinsic. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 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/ia32/lithium-codegen-ia32.cc ('k') | src/ic.h » ('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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_IA32_LITHIUM_IA32_H_ 5 #ifndef V8_IA32_LITHIUM_IA32_H_
6 #define V8_IA32_LITHIUM_IA32_H_ 6 #define V8_IA32_LITHIUM_IA32_H_
7 7
8 #include "src/hydrogen.h" 8 #include "src/hydrogen.h"
9 #include "src/lithium.h" 9 #include "src/lithium.h"
10 #include "src/lithium-allocator.h" 10 #include "src/lithium-allocator.h"
(...skipping 1595 matching lines...) Expand 10 before | Expand all | Expand 10 after
1606 } 1606 }
1607 1607
1608 LOperand* context() { return inputs_[0]; } 1608 LOperand* context() { return inputs_[0]; }
1609 LOperand* object() { return inputs_[1]; } 1609 LOperand* object() { return inputs_[1]; }
1610 LOperand* temp_vector() { return temps_[0]; } 1610 LOperand* temp_vector() { return temps_[0]; }
1611 1611
1612 DECLARE_CONCRETE_INSTRUCTION(LoadNamedGeneric, "load-named-generic") 1612 DECLARE_CONCRETE_INSTRUCTION(LoadNamedGeneric, "load-named-generic")
1613 DECLARE_HYDROGEN_ACCESSOR(LoadNamedGeneric) 1613 DECLARE_HYDROGEN_ACCESSOR(LoadNamedGeneric)
1614 1614
1615 Handle<Object> name() const { return hydrogen()->name(); } 1615 Handle<Object> name() const { return hydrogen()->name(); }
1616 bool is_own_property() const { return hydrogen()->is_own_property(); }
1616 }; 1617 };
1617 1618
1618 1619
1619 class LLoadFunctionPrototype V8_FINAL : public LTemplateInstruction<1, 1, 1> { 1620 class LLoadFunctionPrototype V8_FINAL : public LTemplateInstruction<1, 1, 1> {
1620 public: 1621 public:
1621 LLoadFunctionPrototype(LOperand* function, LOperand* temp) { 1622 LLoadFunctionPrototype(LOperand* function, LOperand* temp) {
1622 inputs_[0] = function; 1623 inputs_[0] = function;
1623 temps_[0] = temp; 1624 temps_[0] = temp;
1624 } 1625 }
1625 1626
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
1695 inputs_[0] = context; 1696 inputs_[0] = context;
1696 inputs_[1] = obj; 1697 inputs_[1] = obj;
1697 inputs_[2] = key; 1698 inputs_[2] = key;
1698 temps_[0] = vector; 1699 temps_[0] = vector;
1699 } 1700 }
1700 1701
1701 LOperand* context() { return inputs_[0]; } 1702 LOperand* context() { return inputs_[0]; }
1702 LOperand* object() { return inputs_[1]; } 1703 LOperand* object() { return inputs_[1]; }
1703 LOperand* key() { return inputs_[2]; } 1704 LOperand* key() { return inputs_[2]; }
1704 LOperand* temp_vector() { return temps_[0]; } 1705 LOperand* temp_vector() { return temps_[0]; }
1706 bool is_own_property() const { return hydrogen()->is_own_property(); }
1705 1707
1706 DECLARE_CONCRETE_INSTRUCTION(LoadKeyedGeneric, "load-keyed-generic") 1708 DECLARE_CONCRETE_INSTRUCTION(LoadKeyedGeneric, "load-keyed-generic")
1707 DECLARE_HYDROGEN_ACCESSOR(LoadKeyedGeneric) 1709 DECLARE_HYDROGEN_ACCESSOR(LoadKeyedGeneric)
1708 }; 1710 };
1709 1711
1710 1712
1711 class LLoadGlobalCell V8_FINAL : public LTemplateInstruction<1, 0, 0> { 1713 class LLoadGlobalCell V8_FINAL : public LTemplateInstruction<1, 0, 0> {
1712 public: 1714 public:
1713 DECLARE_CONCRETE_INSTRUCTION(LoadGlobalCell, "load-global-cell") 1715 DECLARE_CONCRETE_INSTRUCTION(LoadGlobalCell, "load-global-cell")
1714 DECLARE_HYDROGEN_ACCESSOR(LoadGlobalCell) 1716 DECLARE_HYDROGEN_ACCESSOR(LoadGlobalCell)
(...skipping 1177 matching lines...) Expand 10 before | Expand all | Expand 10 after
2892 2894
2893 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2895 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2894 }; 2896 };
2895 2897
2896 #undef DECLARE_HYDROGEN_ACCESSOR 2898 #undef DECLARE_HYDROGEN_ACCESSOR
2897 #undef DECLARE_CONCRETE_INSTRUCTION 2899 #undef DECLARE_CONCRETE_INSTRUCTION
2898 2900
2899 } } // namespace v8::internal 2901 } } // namespace v8::internal
2900 2902
2901 #endif // V8_IA32_LITHIUM_IA32_H_ 2903 #endif // V8_IA32_LITHIUM_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/ic.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698