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

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

Issue 6094020: Simplify CheckPrototypeMaps. (Closed)
Patch Set: Update ARM lithium Created 9 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
« no previous file with comments | « no previous file | src/arm/lithium-codegen-arm.cc » ('j') | src/hydrogen-instructions.h » ('J')
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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 // LShiftI 69 // LShiftI
70 // LSubI 70 // LSubI
71 // LCallConstantFunction 71 // LCallConstantFunction
72 // LCallFunction 72 // LCallFunction
73 // LCallGlobal 73 // LCallGlobal
74 // LCallKeyed 74 // LCallKeyed
75 // LCallKnownGlobal 75 // LCallKnownGlobal
76 // LCallNamed 76 // LCallNamed
77 // LCallRuntime 77 // LCallRuntime
78 // LCallStub 78 // LCallStub
79 // LCheckPrototypeMaps
79 // LConstant 80 // LConstant
80 // LConstantD 81 // LConstantD
81 // LConstantI 82 // LConstantI
82 // LConstantT 83 // LConstantT
83 // LDeoptimize 84 // LDeoptimize
84 // LFunctionLiteral 85 // LFunctionLiteral
85 // LGlobalObject 86 // LGlobalObject
86 // LGlobalReceiver 87 // LGlobalReceiver
87 // LLabel 88 // LLabel
88 // LLayzBailout 89 // LLayzBailout
(...skipping 13 matching lines...) Expand all
102 // LStoreNamedGeneric 103 // LStoreNamedGeneric
103 // LUnaryOperation 104 // LUnaryOperation
104 // LJSArrayLength 105 // LJSArrayLength
105 // LFixedArrayLength 106 // LFixedArrayLength
106 // LBitNotI 107 // LBitNotI
107 // LBranch 108 // LBranch
108 // LCallNew 109 // LCallNew
109 // LCheckFunction 110 // LCheckFunction
110 // LCheckInstanceType 111 // LCheckInstanceType
111 // LCheckMap 112 // LCheckMap
112 // LCheckPrototypeMaps
113 // LCheckSmi 113 // LCheckSmi
114 // LClassOfTest 114 // LClassOfTest
115 // LClassOfTestAndBranch 115 // LClassOfTestAndBranch
116 // LDeleteProperty 116 // LDeleteProperty
117 // LDoubleToI 117 // LDoubleToI
118 // LHasCachedArrayIndex 118 // LHasCachedArrayIndex
119 // LHasCachedArrayIndexAndBranch 119 // LHasCachedArrayIndexAndBranch
120 // LHasInstanceType 120 // LHasInstanceType
121 // LHasInstanceTypeAndBranch 121 // LHasInstanceTypeAndBranch
122 // LInteger32ToDouble 122 // LInteger32ToDouble
(...skipping 1473 matching lines...) Expand 10 before | Expand all | Expand 10 after
1596 1596
1597 1597
1598 class LCheckPrototypeMaps: public LInstruction { 1598 class LCheckPrototypeMaps: public LInstruction {
1599 public: 1599 public:
1600 LCheckPrototypeMaps(LOperand* temp1, LOperand* temp2) 1600 LCheckPrototypeMaps(LOperand* temp1, LOperand* temp2)
1601 : temp1_(temp1), temp2_(temp2) { } 1601 : temp1_(temp1), temp2_(temp2) { }
1602 1602
1603 DECLARE_CONCRETE_INSTRUCTION(CheckPrototypeMaps, "check-prototype-maps") 1603 DECLARE_CONCRETE_INSTRUCTION(CheckPrototypeMaps, "check-prototype-maps")
1604 DECLARE_HYDROGEN_ACCESSOR(CheckPrototypeMaps) 1604 DECLARE_HYDROGEN_ACCESSOR(CheckPrototypeMaps)
1605 1605
1606 Handle<JSObject> prototype() const { return hydrogen()->prototype(); }
1606 Handle<JSObject> holder() const { return hydrogen()->holder(); } 1607 Handle<JSObject> holder() const { return hydrogen()->holder(); }
1607 Handle<Map> receiver_map() const { return hydrogen()->receiver_map(); } 1608
1608 LOperand* temp1() const { return temp1_; } 1609 LOperand* temp1() const { return temp1_; }
1609 LOperand* temp2() const { return temp2_; } 1610 LOperand* temp2() const { return temp2_; }
1610 1611
1611 private: 1612 private:
1612 LOperand* temp1_; 1613 LOperand* temp1_;
1613 LOperand* temp2_; 1614 LOperand* temp2_;
1614 }; 1615 };
1615 1616
1616 1617
1617 class LCheckSmi: public LUnaryOperation { 1618 class LCheckSmi: public LUnaryOperation {
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
1940 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 1941 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
1941 }; 1942 };
1942 1943
1943 #undef DECLARE_HYDROGEN_ACCESSOR 1944 #undef DECLARE_HYDROGEN_ACCESSOR
1944 #undef DECLARE_INSTRUCTION 1945 #undef DECLARE_INSTRUCTION
1945 #undef DECLARE_CONCRETE_INSTRUCTION 1946 #undef DECLARE_CONCRETE_INSTRUCTION
1946 1947
1947 } } // namespace v8::internal 1948 } } // namespace v8::internal
1948 1949
1949 #endif // V8_ARM_LITHIUM_ARM_H_ 1950 #endif // V8_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/lithium-codegen-arm.cc » ('j') | src/hydrogen-instructions.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698