| OLD | NEW | 
|     1 // Copyright 2014 the V8 project authors. All rights reserved. |     1 // Copyright 2014 the V8 project authors. All rights reserved. | 
|     2 // Use of this source code is governed by a BSD-style license that can be |     2 // Use of this source code is governed by a BSD-style license that can be | 
|     3 // found in the LICENSE file. |     3 // found in the LICENSE file. | 
|     4  |     4  | 
|     5 #include "src/ast/scopes.h" |     5 #include "src/ast/scopes.h" | 
|     6 #include "src/compiler/code-generator.h" |     6 #include "src/compiler/code-generator.h" | 
|     7 #include "src/compiler/code-generator-impl.h" |     7 #include "src/compiler/code-generator-impl.h" | 
|     8 #include "src/compiler/gap-resolver.h" |     8 #include "src/compiler/gap-resolver.h" | 
|     9 #include "src/compiler/node-matchers.h" |     9 #include "src/compiler/node-matchers.h" | 
|    10 #include "src/compiler/osr.h" |    10 #include "src/compiler/osr.h" | 
| (...skipping 1716 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1727       break; |  1727       break; | 
|  1728     } |  1728     } | 
|  1729     case kMips64StoreToStackSlot: { |  1729     case kMips64StoreToStackSlot: { | 
|  1730       if (instr->InputAt(0)->IsFPRegister()) { |  1730       if (instr->InputAt(0)->IsFPRegister()) { | 
|  1731         __ sdc1(i.InputDoubleRegister(0), MemOperand(sp, i.InputInt32(1))); |  1731         __ sdc1(i.InputDoubleRegister(0), MemOperand(sp, i.InputInt32(1))); | 
|  1732       } else { |  1732       } else { | 
|  1733         __ sd(i.InputRegister(0), MemOperand(sp, i.InputInt32(1))); |  1733         __ sd(i.InputRegister(0), MemOperand(sp, i.InputInt32(1))); | 
|  1734       } |  1734       } | 
|  1735       break; |  1735       break; | 
|  1736     } |  1736     } | 
 |  1737     case kMips64ByteSwap64: { | 
 |  1738       __ ByteSwapSigned(i.OutputRegister(0), i.InputRegister(0), 8); | 
 |  1739       break; | 
 |  1740     } | 
 |  1741     case kMips64ByteSwap32: { | 
 |  1742       __ ByteSwapUnsigned(i.OutputRegister(0), i.InputRegister(0), 4); | 
 |  1743       __ dsrl32(i.OutputRegister(0), i.OutputRegister(0), 0); | 
 |  1744       break; | 
 |  1745     } | 
|  1737     case kCheckedLoadInt8: |  1746     case kCheckedLoadInt8: | 
|  1738       ASSEMBLE_CHECKED_LOAD_INTEGER(lb); |  1747       ASSEMBLE_CHECKED_LOAD_INTEGER(lb); | 
|  1739       break; |  1748       break; | 
|  1740     case kCheckedLoadUint8: |  1749     case kCheckedLoadUint8: | 
|  1741       ASSEMBLE_CHECKED_LOAD_INTEGER(lbu); |  1750       ASSEMBLE_CHECKED_LOAD_INTEGER(lbu); | 
|  1742       break; |  1751       break; | 
|  1743     case kCheckedLoadInt16: |  1752     case kCheckedLoadInt16: | 
|  1744       ASSEMBLE_CHECKED_LOAD_INTEGER(lh); |  1753       ASSEMBLE_CHECKED_LOAD_INTEGER(lh); | 
|  1745       break; |  1754       break; | 
|  1746     case kCheckedLoadUint16: |  1755     case kCheckedLoadUint16: | 
| (...skipping 709 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  2456       padding_size -= v8::internal::Assembler::kInstrSize; |  2465       padding_size -= v8::internal::Assembler::kInstrSize; | 
|  2457     } |  2466     } | 
|  2458   } |  2467   } | 
|  2459 } |  2468 } | 
|  2460  |  2469  | 
|  2461 #undef __ |  2470 #undef __ | 
|  2462  |  2471  | 
|  2463 }  // namespace compiler |  2472 }  // namespace compiler | 
|  2464 }  // namespace internal |  2473 }  // namespace internal | 
|  2465 }  // namespace v8 |  2474 }  // namespace v8 | 
| OLD | NEW |