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 2376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2387 | 2387 |
2388 class LCheckNonSmi: public LTemplateInstruction<0, 1, 0> { | 2388 class LCheckNonSmi: public LTemplateInstruction<0, 1, 0> { |
2389 public: | 2389 public: |
2390 explicit LCheckNonSmi(LOperand* value) { | 2390 explicit LCheckNonSmi(LOperand* value) { |
2391 inputs_[0] = value; | 2391 inputs_[0] = value; |
2392 } | 2392 } |
2393 | 2393 |
2394 LOperand* value() { return inputs_[0]; } | 2394 LOperand* value() { return inputs_[0]; } |
2395 | 2395 |
2396 DECLARE_CONCRETE_INSTRUCTION(CheckNonSmi, "check-non-smi") | 2396 DECLARE_CONCRETE_INSTRUCTION(CheckNonSmi, "check-non-smi") |
| 2397 DECLARE_HYDROGEN_ACCESSOR(CheckHeapObject) |
2397 }; | 2398 }; |
2398 | 2399 |
2399 | 2400 |
2400 class LClampDToUint8: public LTemplateInstruction<1, 1, 1> { | 2401 class LClampDToUint8: public LTemplateInstruction<1, 1, 1> { |
2401 public: | 2402 public: |
2402 LClampDToUint8(LOperand* unclamped, LOperand* temp) { | 2403 LClampDToUint8(LOperand* unclamped, LOperand* temp) { |
2403 inputs_[0] = unclamped; | 2404 inputs_[0] = unclamped; |
2404 temps_[0] = temp; | 2405 temps_[0] = temp; |
2405 } | 2406 } |
2406 | 2407 |
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2823 | 2824 |
2824 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2825 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2825 }; | 2826 }; |
2826 | 2827 |
2827 #undef DECLARE_HYDROGEN_ACCESSOR | 2828 #undef DECLARE_HYDROGEN_ACCESSOR |
2828 #undef DECLARE_CONCRETE_INSTRUCTION | 2829 #undef DECLARE_CONCRETE_INSTRUCTION |
2829 | 2830 |
2830 } } // namespace v8::internal | 2831 } } // namespace v8::internal |
2831 | 2832 |
2832 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2833 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
OLD | NEW |