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 2361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2372 | 2372 |
2373 class LCheckNonSmi: public LTemplateInstruction<0, 1, 0> { | 2373 class LCheckNonSmi: public LTemplateInstruction<0, 1, 0> { |
2374 public: | 2374 public: |
2375 explicit LCheckNonSmi(LOperand* value) { | 2375 explicit LCheckNonSmi(LOperand* value) { |
2376 inputs_[0] = value; | 2376 inputs_[0] = value; |
2377 } | 2377 } |
2378 | 2378 |
2379 LOperand* value() { return inputs_[0]; } | 2379 LOperand* value() { return inputs_[0]; } |
2380 | 2380 |
2381 DECLARE_CONCRETE_INSTRUCTION(CheckNonSmi, "check-non-smi") | 2381 DECLARE_CONCRETE_INSTRUCTION(CheckNonSmi, "check-non-smi") |
| 2382 DECLARE_HYDROGEN_ACCESSOR(CheckHeapObject) |
2382 }; | 2383 }; |
2383 | 2384 |
2384 | 2385 |
2385 class LAllocateObject: public LTemplateInstruction<1, 0, 1> { | 2386 class LAllocateObject: public LTemplateInstruction<1, 0, 1> { |
2386 public: | 2387 public: |
2387 explicit LAllocateObject(LOperand* temp) { | 2388 explicit LAllocateObject(LOperand* temp) { |
2388 temps_[0] = temp; | 2389 temps_[0] = temp; |
2389 } | 2390 } |
2390 | 2391 |
2391 LOperand* temp() { return temps_[0]; } | 2392 LOperand* temp() { return temps_[0]; } |
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2751 | 2752 |
2752 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2753 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2753 }; | 2754 }; |
2754 | 2755 |
2755 #undef DECLARE_HYDROGEN_ACCESSOR | 2756 #undef DECLARE_HYDROGEN_ACCESSOR |
2756 #undef DECLARE_CONCRETE_INSTRUCTION | 2757 #undef DECLARE_CONCRETE_INSTRUCTION |
2757 | 2758 |
2758 } } // namespace v8::int | 2759 } } // namespace v8::int |
2759 | 2760 |
2760 #endif // V8_X64_LITHIUM_X64_H_ | 2761 #endif // V8_X64_LITHIUM_X64_H_ |
OLD | NEW |