| OLD | NEW |
| 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 V(ElementsKind) \ | 94 V(ElementsKind) \ |
| 95 V(FixedArrayBaseLength) \ | 95 V(FixedArrayBaseLength) \ |
| 96 V(FunctionLiteral) \ | 96 V(FunctionLiteral) \ |
| 97 V(GetCachedArrayIndex) \ | 97 V(GetCachedArrayIndex) \ |
| 98 V(GlobalObject) \ | 98 V(GlobalObject) \ |
| 99 V(GlobalReceiver) \ | 99 V(GlobalReceiver) \ |
| 100 V(Goto) \ | 100 V(Goto) \ |
| 101 V(HasCachedArrayIndexAndBranch) \ | 101 V(HasCachedArrayIndexAndBranch) \ |
| 102 V(HasInstanceTypeAndBranch) \ | 102 V(HasInstanceTypeAndBranch) \ |
| 103 V(In) \ | 103 V(In) \ |
| 104 V(InlinedContext) \ |
| 104 V(InstanceOf) \ | 105 V(InstanceOf) \ |
| 105 V(InstanceOfKnownGlobal) \ | 106 V(InstanceOfKnownGlobal) \ |
| 106 V(InstructionGap) \ | 107 V(InstructionGap) \ |
| 107 V(Integer32ToDouble) \ | 108 V(Integer32ToDouble) \ |
| 108 V(InvokeFunction) \ | 109 V(InvokeFunction) \ |
| 109 V(IsConstructCallAndBranch) \ | 110 V(IsConstructCallAndBranch) \ |
| 110 V(IsNullAndBranch) \ | 111 V(IsNullAndBranch) \ |
| 111 V(IsObjectAndBranch) \ | 112 V(IsObjectAndBranch) \ |
| 112 V(IsSmiAndBranch) \ | 113 V(IsSmiAndBranch) \ |
| 113 V(IsUndetectableAndBranch) \ | 114 V(IsUndetectableAndBranch) \ |
| (...skipping 1163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1277 DECLARE_CONCRETE_INSTRUCTION(ThisFunction, "this-function") | 1278 DECLARE_CONCRETE_INSTRUCTION(ThisFunction, "this-function") |
| 1278 }; | 1279 }; |
| 1279 | 1280 |
| 1280 | 1281 |
| 1281 class LContext: public LTemplateInstruction<1, 0, 0> { | 1282 class LContext: public LTemplateInstruction<1, 0, 0> { |
| 1282 public: | 1283 public: |
| 1283 DECLARE_CONCRETE_INSTRUCTION(Context, "context") | 1284 DECLARE_CONCRETE_INSTRUCTION(Context, "context") |
| 1284 }; | 1285 }; |
| 1285 | 1286 |
| 1286 | 1287 |
| 1288 class LInlinedContext: public LTemplateInstruction<1, 0, 0> { |
| 1289 public: |
| 1290 DECLARE_CONCRETE_INSTRUCTION(InlinedContext, "inlined-context") |
| 1291 DECLARE_HYDROGEN_ACCESSOR(InlinedContext) |
| 1292 |
| 1293 Handle<JSFunction> closure() const { return hydrogen()->closure(); } |
| 1294 }; |
| 1295 |
| 1296 |
| 1287 class LOuterContext: public LTemplateInstruction<1, 1, 0> { | 1297 class LOuterContext: public LTemplateInstruction<1, 1, 0> { |
| 1288 public: | 1298 public: |
| 1289 explicit LOuterContext(LOperand* context) { | 1299 explicit LOuterContext(LOperand* context) { |
| 1290 inputs_[0] = context; | 1300 inputs_[0] = context; |
| 1291 } | 1301 } |
| 1292 | 1302 |
| 1293 DECLARE_CONCRETE_INSTRUCTION(OuterContext, "outer-context") | 1303 DECLARE_CONCRETE_INSTRUCTION(OuterContext, "outer-context") |
| 1294 | 1304 |
| 1295 LOperand* context() { return InputAt(0); } | 1305 LOperand* context() { return InputAt(0); } |
| 1296 }; | 1306 }; |
| (...skipping 876 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2173 | 2183 |
| 2174 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2184 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2175 }; | 2185 }; |
| 2176 | 2186 |
| 2177 #undef DECLARE_HYDROGEN_ACCESSOR | 2187 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2178 #undef DECLARE_CONCRETE_INSTRUCTION | 2188 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2179 | 2189 |
| 2180 } } // namespace v8::int | 2190 } } // namespace v8::int |
| 2181 | 2191 |
| 2182 #endif // V8_X64_LITHIUM_X64_H_ | 2192 #endif // V8_X64_LITHIUM_X64_H_ |
| OLD | NEW |