OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 // LBitI | 55 // LBitI |
56 // LBoundsCheck | 56 // LBoundsCheck |
57 // LCmpID | 57 // LCmpID |
58 // LCmpIDAndBranch | 58 // LCmpIDAndBranch |
59 // LCmpJSObjectEq | 59 // LCmpJSObjectEq |
60 // LCmpJSObjectEqAndBranch | 60 // LCmpJSObjectEqAndBranch |
61 // LCmpT | 61 // LCmpT |
62 // LDivI | 62 // LDivI |
63 // LInstanceOf | 63 // LInstanceOf |
64 // LInstanceOfAndBranch | 64 // LInstanceOfAndBranch |
| 65 // LInstanceOfKnownGlobal |
65 // LLoadKeyedFastElement | 66 // LLoadKeyedFastElement |
66 // LLoadKeyedGeneric | 67 // LLoadKeyedGeneric |
67 // LModI | 68 // LModI |
68 // LMulI | 69 // LMulI |
69 // LShiftI | 70 // LShiftI |
70 // LSubI | 71 // LSubI |
71 // LCallConstantFunction | 72 // LCallConstantFunction |
72 // LCallFunction | 73 // LCallFunction |
73 // LCallGlobal | 74 // LCallGlobal |
74 // LCallKeyed | 75 // LCallKeyed |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 V(DivI) \ | 198 V(DivI) \ |
198 V(DoubleToI) \ | 199 V(DoubleToI) \ |
199 V(FixedArrayLength) \ | 200 V(FixedArrayLength) \ |
200 V(FunctionLiteral) \ | 201 V(FunctionLiteral) \ |
201 V(Gap) \ | 202 V(Gap) \ |
202 V(GlobalObject) \ | 203 V(GlobalObject) \ |
203 V(GlobalReceiver) \ | 204 V(GlobalReceiver) \ |
204 V(Goto) \ | 205 V(Goto) \ |
205 V(InstanceOf) \ | 206 V(InstanceOf) \ |
206 V(InstanceOfAndBranch) \ | 207 V(InstanceOfAndBranch) \ |
| 208 V(InstanceOfKnownGlobal) \ |
207 V(Integer32ToDouble) \ | 209 V(Integer32ToDouble) \ |
208 V(IsNull) \ | 210 V(IsNull) \ |
209 V(IsNullAndBranch) \ | 211 V(IsNullAndBranch) \ |
210 V(IsObject) \ | 212 V(IsObject) \ |
211 V(IsObjectAndBranch) \ | 213 V(IsObjectAndBranch) \ |
212 V(IsSmi) \ | 214 V(IsSmi) \ |
213 V(IsSmiAndBranch) \ | 215 V(IsSmiAndBranch) \ |
214 V(JSArrayLength) \ | 216 V(JSArrayLength) \ |
215 V(HasInstanceType) \ | 217 V(HasInstanceType) \ |
216 V(HasInstanceTypeAndBranch) \ | 218 V(HasInstanceTypeAndBranch) \ |
(...skipping 769 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
986 | 988 |
987 int true_block_id() const { return true_block_id_; } | 989 int true_block_id() const { return true_block_id_; } |
988 int false_block_id() const { return false_block_id_; } | 990 int false_block_id() const { return false_block_id_; } |
989 | 991 |
990 private: | 992 private: |
991 int true_block_id_; | 993 int true_block_id_; |
992 int false_block_id_; | 994 int false_block_id_; |
993 }; | 995 }; |
994 | 996 |
995 | 997 |
| 998 class LInstanceOfKnownGlobal: public LUnaryOperation { |
| 999 public: |
| 1000 explicit LInstanceOfKnownGlobal(LOperand* left) |
| 1001 : LUnaryOperation(left) { } |
| 1002 |
| 1003 DECLARE_CONCRETE_INSTRUCTION(InstanceOfKnownGlobal, |
| 1004 "instance-of-known-global") |
| 1005 DECLARE_HYDROGEN_ACCESSOR(InstanceOfKnownGlobal) |
| 1006 |
| 1007 Handle<JSFunction> function() const { return hydrogen()->function(); } |
| 1008 }; |
| 1009 |
| 1010 |
996 class LBoundsCheck: public LBinaryOperation { | 1011 class LBoundsCheck: public LBinaryOperation { |
997 public: | 1012 public: |
998 LBoundsCheck(LOperand* index, LOperand* length) | 1013 LBoundsCheck(LOperand* index, LOperand* length) |
999 : LBinaryOperation(index, length) { } | 1014 : LBinaryOperation(index, length) { } |
1000 | 1015 |
1001 LOperand* index() const { return left(); } | 1016 LOperand* index() const { return left(); } |
1002 LOperand* length() const { return right(); } | 1017 LOperand* length() const { return right(); } |
1003 | 1018 |
1004 DECLARE_CONCRETE_INSTRUCTION(BoundsCheck, "bounds-check") | 1019 DECLARE_CONCRETE_INSTRUCTION(BoundsCheck, "bounds-check") |
1005 }; | 1020 }; |
(...skipping 1110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2116 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2131 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2117 }; | 2132 }; |
2118 | 2133 |
2119 #undef DECLARE_HYDROGEN_ACCESSOR | 2134 #undef DECLARE_HYDROGEN_ACCESSOR |
2120 #undef DECLARE_INSTRUCTION | 2135 #undef DECLARE_INSTRUCTION |
2121 #undef DECLARE_CONCRETE_INSTRUCTION | 2136 #undef DECLARE_CONCRETE_INSTRUCTION |
2122 | 2137 |
2123 } } // namespace v8::internal | 2138 } } // namespace v8::internal |
2124 | 2139 |
2125 #endif // V8_ARM_LITHIUM_ARM_H_ | 2140 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |