| OLD | NEW | 
|---|
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 142   V(SmiUntag)                                   \ | 142   V(SmiUntag)                                   \ | 
| 143   V(StackCheck)                                 \ | 143   V(StackCheck)                                 \ | 
| 144   V(StoreContextSlot)                           \ | 144   V(StoreContextSlot)                           \ | 
| 145   V(StoreGlobal)                                \ | 145   V(StoreGlobal)                                \ | 
| 146   V(StoreKeyedFastElement)                      \ | 146   V(StoreKeyedFastElement)                      \ | 
| 147   V(StoreKeyedGeneric)                          \ | 147   V(StoreKeyedGeneric)                          \ | 
| 148   V(StoreNamedField)                            \ | 148   V(StoreNamedField)                            \ | 
| 149   V(StoreNamedGeneric)                          \ | 149   V(StoreNamedGeneric)                          \ | 
| 150   V(StorePixelArrayElement)                     \ | 150   V(StorePixelArrayElement)                     \ | 
| 151   V(StringCharCodeAt)                           \ | 151   V(StringCharCodeAt)                           \ | 
|  | 152   V(StringCharFromCode)                         \ | 
| 152   V(StringLength)                               \ | 153   V(StringLength)                               \ | 
| 153   V(SubI)                                       \ | 154   V(SubI)                                       \ | 
| 154   V(TaggedToI)                                  \ | 155   V(TaggedToI)                                  \ | 
| 155   V(Throw)                                      \ | 156   V(Throw)                                      \ | 
| 156   V(Typeof)                                     \ | 157   V(Typeof)                                     \ | 
| 157   V(TypeofIs)                                   \ | 158   V(TypeofIs)                                   \ | 
| 158   V(TypeofIsAndBranch)                          \ | 159   V(TypeofIsAndBranch)                          \ | 
| 159   V(IsConstructCall)                            \ | 160   V(IsConstructCall)                            \ | 
| 160   V(IsConstructCallAndBranch)                   \ | 161   V(IsConstructCallAndBranch)                   \ | 
| 161   V(UnaryMathOperation)                         \ | 162   V(UnaryMathOperation)                         \ | 
| (...skipping 1466 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1628   } | 1629   } | 
| 1629 | 1630 | 
| 1630   DECLARE_CONCRETE_INSTRUCTION(StringCharCodeAt, "string-char-code-at") | 1631   DECLARE_CONCRETE_INSTRUCTION(StringCharCodeAt, "string-char-code-at") | 
| 1631   DECLARE_HYDROGEN_ACCESSOR(StringCharCodeAt) | 1632   DECLARE_HYDROGEN_ACCESSOR(StringCharCodeAt) | 
| 1632 | 1633 | 
| 1633   LOperand* string() { return inputs_[0]; } | 1634   LOperand* string() { return inputs_[0]; } | 
| 1634   LOperand* index() { return inputs_[1]; } | 1635   LOperand* index() { return inputs_[1]; } | 
| 1635 }; | 1636 }; | 
| 1636 | 1637 | 
| 1637 | 1638 | 
|  | 1639 class LStringCharFromCode: public LTemplateInstruction<1, 1, 0> { | 
|  | 1640  public: | 
|  | 1641   explicit LStringCharFromCode(LOperand* char_code) { | 
|  | 1642     inputs_[0] = char_code; | 
|  | 1643   } | 
|  | 1644 | 
|  | 1645   DECLARE_CONCRETE_INSTRUCTION(StringCharFromCode, "string-char-from-code") | 
|  | 1646   DECLARE_HYDROGEN_ACCESSOR(StringCharFromCode) | 
|  | 1647 | 
|  | 1648   LOperand* char_code() { return inputs_[0]; } | 
|  | 1649 }; | 
|  | 1650 | 
|  | 1651 | 
| 1638 class LStringLength: public LTemplateInstruction<1, 1, 0> { | 1652 class LStringLength: public LTemplateInstruction<1, 1, 0> { | 
| 1639  public: | 1653  public: | 
| 1640   explicit LStringLength(LOperand* string) { | 1654   explicit LStringLength(LOperand* string) { | 
| 1641     inputs_[0] = string; | 1655     inputs_[0] = string; | 
| 1642   } | 1656   } | 
| 1643 | 1657 | 
| 1644   DECLARE_CONCRETE_INSTRUCTION(StringLength, "string-length") | 1658   DECLARE_CONCRETE_INSTRUCTION(StringLength, "string-length") | 
| 1645   DECLARE_HYDROGEN_ACCESSOR(StringLength) | 1659   DECLARE_HYDROGEN_ACCESSOR(StringLength) | 
| 1646 | 1660 | 
| 1647   LOperand* string() { return inputs_[0]; } | 1661   LOperand* string() { return inputs_[0]; } | 
| (...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2062   DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2076   DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 
| 2063 }; | 2077 }; | 
| 2064 | 2078 | 
| 2065 #undef DECLARE_HYDROGEN_ACCESSOR | 2079 #undef DECLARE_HYDROGEN_ACCESSOR | 
| 2066 #undef DECLARE_INSTRUCTION | 2080 #undef DECLARE_INSTRUCTION | 
| 2067 #undef DECLARE_CONCRETE_INSTRUCTION | 2081 #undef DECLARE_CONCRETE_INSTRUCTION | 
| 2068 | 2082 | 
| 2069 } }  // namespace v8::internal | 2083 } }  // namespace v8::internal | 
| 2070 | 2084 | 
| 2071 #endif  // V8_ARM_LITHIUM_ARM_H_ | 2085 #endif  // V8_ARM_LITHIUM_ARM_H_ | 
| OLD | NEW | 
|---|