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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 V(CallGlobal) \ | 59 V(CallGlobal) \ |
60 V(CallKeyed) \ | 60 V(CallKeyed) \ |
61 V(CallKnownGlobal) \ | 61 V(CallKnownGlobal) \ |
62 V(CallNamed) \ | 62 V(CallNamed) \ |
63 V(CallNew) \ | 63 V(CallNew) \ |
64 V(CallRuntime) \ | 64 V(CallRuntime) \ |
65 V(CallStub) \ | 65 V(CallStub) \ |
66 V(CheckFunction) \ | 66 V(CheckFunction) \ |
67 V(CheckInstanceType) \ | 67 V(CheckInstanceType) \ |
68 V(CheckMap) \ | 68 V(CheckMap) \ |
| 69 V(CheckMapSet) \ |
69 V(CheckNonSmi) \ | 70 V(CheckNonSmi) \ |
70 V(CheckPrototypeMaps) \ | 71 V(CheckPrototypeMaps) \ |
71 V(CheckSmi) \ | 72 V(CheckSmi) \ |
72 V(ClampDToUint8) \ | 73 V(ClampDToUint8) \ |
73 V(ClampIToUint8) \ | 74 V(ClampIToUint8) \ |
74 V(ClampTToUint8) \ | 75 V(ClampTToUint8) \ |
75 V(ClassOfTestAndBranch) \ | 76 V(ClassOfTestAndBranch) \ |
76 V(CmpIDAndBranch) \ | 77 V(CmpIDAndBranch) \ |
77 V(CmpObjectEqAndBranch) \ | 78 V(CmpObjectEqAndBranch) \ |
78 V(CmpMapAndBranch) \ | 79 V(CmpMapAndBranch) \ |
(...skipping 1839 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1918 public: | 1919 public: |
1919 explicit LCheckMap(LOperand* value) { | 1920 explicit LCheckMap(LOperand* value) { |
1920 inputs_[0] = value; | 1921 inputs_[0] = value; |
1921 } | 1922 } |
1922 | 1923 |
1923 DECLARE_CONCRETE_INSTRUCTION(CheckMap, "check-map") | 1924 DECLARE_CONCRETE_INSTRUCTION(CheckMap, "check-map") |
1924 DECLARE_HYDROGEN_ACCESSOR(CheckMap) | 1925 DECLARE_HYDROGEN_ACCESSOR(CheckMap) |
1925 }; | 1926 }; |
1926 | 1927 |
1927 | 1928 |
| 1929 class LCheckMapSet: public LTemplateInstruction<0, 1, 0> { |
| 1930 public: |
| 1931 explicit LCheckMapSet(LOperand* value) { |
| 1932 inputs_[0] = value; |
| 1933 } |
| 1934 |
| 1935 DECLARE_CONCRETE_INSTRUCTION(CheckMapSet, "check-map-set") |
| 1936 DECLARE_HYDROGEN_ACCESSOR(CheckMapSet) |
| 1937 }; |
| 1938 |
| 1939 |
1928 class LCheckPrototypeMaps: public LTemplateInstruction<0, 0, 1> { | 1940 class LCheckPrototypeMaps: public LTemplateInstruction<0, 0, 1> { |
1929 public: | 1941 public: |
1930 explicit LCheckPrototypeMaps(LOperand* temp) { | 1942 explicit LCheckPrototypeMaps(LOperand* temp) { |
1931 temps_[0] = temp; | 1943 temps_[0] = temp; |
1932 } | 1944 } |
1933 | 1945 |
1934 DECLARE_CONCRETE_INSTRUCTION(CheckPrototypeMaps, "check-prototype-maps") | 1946 DECLARE_CONCRETE_INSTRUCTION(CheckPrototypeMaps, "check-prototype-maps") |
1935 DECLARE_HYDROGEN_ACCESSOR(CheckPrototypeMaps) | 1947 DECLARE_HYDROGEN_ACCESSOR(CheckPrototypeMaps) |
1936 | 1948 |
1937 Handle<JSObject> prototype() const { return hydrogen()->prototype(); } | 1949 Handle<JSObject> prototype() const { return hydrogen()->prototype(); } |
(...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2474 | 2486 |
2475 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2487 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2476 }; | 2488 }; |
2477 | 2489 |
2478 #undef DECLARE_HYDROGEN_ACCESSOR | 2490 #undef DECLARE_HYDROGEN_ACCESSOR |
2479 #undef DECLARE_CONCRETE_INSTRUCTION | 2491 #undef DECLARE_CONCRETE_INSTRUCTION |
2480 | 2492 |
2481 } } // namespace v8::internal | 2493 } } // namespace v8::internal |
2482 | 2494 |
2483 #endif // V8_IA32_LITHIUM_IA32_H_ | 2495 #endif // V8_IA32_LITHIUM_IA32_H_ |
OLD | NEW |