OLD | NEW |
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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 V(CallConstantFunction) \ | 55 V(CallConstantFunction) \ |
56 V(CallFunction) \ | 56 V(CallFunction) \ |
57 V(CallGlobal) \ | 57 V(CallGlobal) \ |
58 V(CallKeyed) \ | 58 V(CallKeyed) \ |
59 V(CallKnownGlobal) \ | 59 V(CallKnownGlobal) \ |
60 V(CallNamed) \ | 60 V(CallNamed) \ |
61 V(CallNew) \ | 61 V(CallNew) \ |
62 V(CallNewArray) \ | 62 V(CallNewArray) \ |
63 V(CallRuntime) \ | 63 V(CallRuntime) \ |
64 V(CallStub) \ | 64 V(CallStub) \ |
65 V(CheckFunction) \ | |
66 V(CheckInstanceType) \ | 65 V(CheckInstanceType) \ |
67 V(CheckNonSmi) \ | 66 V(CheckNonSmi) \ |
68 V(CheckMaps) \ | 67 V(CheckMaps) \ |
69 V(CheckMapValue) \ | 68 V(CheckMapValue) \ |
70 V(CheckSmi) \ | 69 V(CheckSmi) \ |
| 70 V(CheckValue) \ |
71 V(ClampDToUint8) \ | 71 V(ClampDToUint8) \ |
72 V(ClampIToUint8) \ | 72 V(ClampIToUint8) \ |
73 V(ClampTToUint8) \ | 73 V(ClampTToUint8) \ |
74 V(ClassOfTestAndBranch) \ | 74 V(ClassOfTestAndBranch) \ |
75 V(CompareNumericAndBranch) \ | 75 V(CompareNumericAndBranch) \ |
76 V(CmpObjectEqAndBranch) \ | 76 V(CmpObjectEqAndBranch) \ |
77 V(CmpHoleAndBranch) \ | 77 V(CmpHoleAndBranch) \ |
78 V(CmpMapAndBranch) \ | 78 V(CmpMapAndBranch) \ |
79 V(CmpT) \ | 79 V(CmpT) \ |
80 V(ConstantD) \ | 80 V(ConstantD) \ |
(...skipping 2232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2313 inputs_[0] = char_code; | 2313 inputs_[0] = char_code; |
2314 } | 2314 } |
2315 | 2315 |
2316 LOperand* char_code() { return inputs_[0]; } | 2316 LOperand* char_code() { return inputs_[0]; } |
2317 | 2317 |
2318 DECLARE_CONCRETE_INSTRUCTION(StringCharFromCode, "string-char-from-code") | 2318 DECLARE_CONCRETE_INSTRUCTION(StringCharFromCode, "string-char-from-code") |
2319 DECLARE_HYDROGEN_ACCESSOR(StringCharFromCode) | 2319 DECLARE_HYDROGEN_ACCESSOR(StringCharFromCode) |
2320 }; | 2320 }; |
2321 | 2321 |
2322 | 2322 |
2323 class LCheckFunction V8_FINAL : public LTemplateInstruction<0, 1, 0> { | 2323 class LCheckValue V8_FINAL : public LTemplateInstruction<0, 1, 0> { |
2324 public: | 2324 public: |
2325 explicit LCheckFunction(LOperand* value) { | 2325 explicit LCheckValue(LOperand* value) { |
2326 inputs_[0] = value; | 2326 inputs_[0] = value; |
2327 } | 2327 } |
2328 | 2328 |
2329 LOperand* value() { return inputs_[0]; } | 2329 LOperand* value() { return inputs_[0]; } |
2330 | 2330 |
2331 DECLARE_CONCRETE_INSTRUCTION(CheckFunction, "check-function") | 2331 DECLARE_CONCRETE_INSTRUCTION(CheckValue, "check-value") |
2332 DECLARE_HYDROGEN_ACCESSOR(CheckFunction) | 2332 DECLARE_HYDROGEN_ACCESSOR(CheckValue) |
2333 }; | 2333 }; |
2334 | 2334 |
2335 | 2335 |
2336 class LCheckInstanceType V8_FINAL : public LTemplateInstruction<0, 1, 0> { | 2336 class LCheckInstanceType V8_FINAL : public LTemplateInstruction<0, 1, 0> { |
2337 public: | 2337 public: |
2338 explicit LCheckInstanceType(LOperand* value) { | 2338 explicit LCheckInstanceType(LOperand* value) { |
2339 inputs_[0] = value; | 2339 inputs_[0] = value; |
2340 } | 2340 } |
2341 | 2341 |
2342 LOperand* value() { return inputs_[0]; } | 2342 LOperand* value() { return inputs_[0]; } |
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2769 | 2769 |
2770 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2770 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2771 }; | 2771 }; |
2772 | 2772 |
2773 #undef DECLARE_HYDROGEN_ACCESSOR | 2773 #undef DECLARE_HYDROGEN_ACCESSOR |
2774 #undef DECLARE_CONCRETE_INSTRUCTION | 2774 #undef DECLARE_CONCRETE_INSTRUCTION |
2775 | 2775 |
2776 } } // namespace v8::internal | 2776 } } // namespace v8::internal |
2777 | 2777 |
2778 #endif // V8_ARM_LITHIUM_ARM_H_ | 2778 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |