| 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/v8.h" | 5 #include "src/v8.h" |
| 6 | 6 |
| 7 #if V8_TARGET_ARCH_PPC | 7 #if V8_TARGET_ARCH_PPC |
| 8 | 8 |
| 9 #include "src/ppc/constants-ppc.h" | 9 #include "src/ppc/constants-ppc.h" |
| 10 | 10 |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 while (aliases_[i].reg != kNoRegister) { | 78 while (aliases_[i].reg != kNoRegister) { |
| 79 if (strcmp(aliases_[i].name, name) == 0) { | 79 if (strcmp(aliases_[i].name, name) == 0) { |
| 80 return aliases_[i].reg; | 80 return aliases_[i].reg; |
| 81 } | 81 } |
| 82 i++; | 82 i++; |
| 83 } | 83 } |
| 84 | 84 |
| 85 // No register with the requested name found. | 85 // No register with the requested name found. |
| 86 return kNoRegister; | 86 return kNoRegister; |
| 87 } | 87 } |
| 88 } | 88 } // namespace internal |
| 89 } // namespace v8::internal | 89 } // namespace v8 |
| 90 | 90 |
| 91 #endif // V8_TARGET_ARCH_PPC | 91 #endif // V8_TARGET_ARCH_PPC |
| OLD | NEW |