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(CheckMaps) \ | 66 V(CheckMaps) \ |
68 V(CheckMapValue) \ | 67 V(CheckMapValue) \ |
69 V(CheckNonSmi) \ | 68 V(CheckNonSmi) \ |
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(ClampTToUint8NoSSE2) \ | 74 V(ClampTToUint8NoSSE2) \ |
75 V(ClassOfTestAndBranch) \ | 75 V(ClassOfTestAndBranch) \ |
76 V(CompareNumericAndBranch) \ | 76 V(CompareNumericAndBranch) \ |
77 V(CmpObjectEqAndBranch) \ | 77 V(CmpObjectEqAndBranch) \ |
78 V(CmpHoleAndBranch) \ | 78 V(CmpHoleAndBranch) \ |
79 V(CmpMapAndBranch) \ | 79 V(CmpMapAndBranch) \ |
80 V(CmpT) \ | 80 V(CmpT) \ |
(...skipping 2331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2412 } | 2412 } |
2413 | 2413 |
2414 LOperand* context() { return inputs_[0]; } | 2414 LOperand* context() { return inputs_[0]; } |
2415 LOperand* char_code() { return inputs_[1]; } | 2415 LOperand* char_code() { return inputs_[1]; } |
2416 | 2416 |
2417 DECLARE_CONCRETE_INSTRUCTION(StringCharFromCode, "string-char-from-code") | 2417 DECLARE_CONCRETE_INSTRUCTION(StringCharFromCode, "string-char-from-code") |
2418 DECLARE_HYDROGEN_ACCESSOR(StringCharFromCode) | 2418 DECLARE_HYDROGEN_ACCESSOR(StringCharFromCode) |
2419 }; | 2419 }; |
2420 | 2420 |
2421 | 2421 |
2422 class LCheckFunction V8_FINAL : public LTemplateInstruction<0, 1, 0> { | 2422 class LCheckValue V8_FINAL : public LTemplateInstruction<0, 1, 0> { |
2423 public: | 2423 public: |
2424 explicit LCheckFunction(LOperand* value) { | 2424 explicit LCheckValue(LOperand* value) { |
2425 inputs_[0] = value; | 2425 inputs_[0] = value; |
2426 } | 2426 } |
2427 | 2427 |
2428 LOperand* value() { return inputs_[0]; } | 2428 LOperand* value() { return inputs_[0]; } |
2429 | 2429 |
2430 DECLARE_CONCRETE_INSTRUCTION(CheckFunction, "check-function") | 2430 DECLARE_CONCRETE_INSTRUCTION(CheckValue, "check-value") |
2431 DECLARE_HYDROGEN_ACCESSOR(CheckFunction) | 2431 DECLARE_HYDROGEN_ACCESSOR(CheckValue) |
2432 }; | 2432 }; |
2433 | 2433 |
2434 | 2434 |
2435 class LCheckInstanceType V8_FINAL : public LTemplateInstruction<0, 1, 1> { | 2435 class LCheckInstanceType V8_FINAL : public LTemplateInstruction<0, 1, 1> { |
2436 public: | 2436 public: |
2437 LCheckInstanceType(LOperand* value, LOperand* temp) { | 2437 LCheckInstanceType(LOperand* value, LOperand* temp) { |
2438 inputs_[0] = value; | 2438 inputs_[0] = value; |
2439 temps_[0] = temp; | 2439 temps_[0] = temp; |
2440 } | 2440 } |
2441 | 2441 |
(...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2910 | 2910 |
2911 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2911 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2912 }; | 2912 }; |
2913 | 2913 |
2914 #undef DECLARE_HYDROGEN_ACCESSOR | 2914 #undef DECLARE_HYDROGEN_ACCESSOR |
2915 #undef DECLARE_CONCRETE_INSTRUCTION | 2915 #undef DECLARE_CONCRETE_INSTRUCTION |
2916 | 2916 |
2917 } } // namespace v8::internal | 2917 } } // namespace v8::internal |
2918 | 2918 |
2919 #endif // V8_IA32_LITHIUM_IA32_H_ | 2919 #endif // V8_IA32_LITHIUM_IA32_H_ |
OLD | NEW |