| 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 15 matching lines...) Expand all Loading... |
| 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 27 | 27 |
| 28 #include "v8.h" | 28 #include "v8.h" |
| 29 | 29 |
| 30 #include "mips/lithium-gap-resolver-mips.h" | 30 #include "mips/lithium-gap-resolver-mips.h" |
| 31 #include "mips/lithium-codegen-mips.h" | 31 #include "mips/lithium-codegen-mips.h" |
| 32 | 32 |
| 33 namespace v8 { | 33 namespace v8 { |
| 34 namespace internal { | 34 namespace internal { |
| 35 | 35 |
| 36 static const Register kSavedValueRegister = lithiumScratchReg; | 36 static const Register kSavedValueRegister = kLithiumScratchReg; |
| 37 static const DoubleRegister kSavedDoubleValueRegister = lithiumScratchDouble; | 37 static const DoubleRegister kSavedDoubleValueRegister = kLithiumScratchDouble; |
| 38 | 38 |
| 39 LGapResolver::LGapResolver(LCodeGen* owner) | 39 LGapResolver::LGapResolver(LCodeGen* owner) |
| 40 : cgen_(owner), | 40 : cgen_(owner), |
| 41 moves_(32), | 41 moves_(32), |
| 42 root_index_(0), | 42 root_index_(0), |
| 43 in_cycle_(false), | 43 in_cycle_(false), |
| 44 saved_destination_(NULL) {} | 44 saved_destination_(NULL) {} |
| 45 | 45 |
| 46 | 46 |
| 47 void LGapResolver::Resolve(LParallelMove* parallel_move) { | 47 void LGapResolver::Resolve(LParallelMove* parallel_move) { |
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 310 UNREACHABLE(); | 310 UNREACHABLE(); |
| 311 } | 311 } |
| 312 | 312 |
| 313 moves_[index].Eliminate(); | 313 moves_[index].Eliminate(); |
| 314 } | 314 } |
| 315 | 315 |
| 316 | 316 |
| 317 #undef __ | 317 #undef __ |
| 318 | 318 |
| 319 } } // namespace v8::internal | 319 } } // namespace v8::internal |
| OLD | NEW |