OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 #ifndef V8_LITHIUM_INL_H_ | 5 #ifndef V8_LITHIUM_INL_H_ |
6 #define V8_LITHIUM_INL_H_ | 6 #define V8_LITHIUM_INL_H_ |
7 | 7 |
8 #include "src/lithium.h" | 8 #include "src/lithium.h" |
9 | 9 |
10 #if V8_TARGET_ARCH_IA32 | 10 #if V8_TARGET_ARCH_IA32 |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 LOperand* result = input_iterator_.Done() ? env_iterator_.Current() | 101 LOperand* result = input_iterator_.Done() ? env_iterator_.Current() |
102 : input_iterator_.Current(); | 102 : input_iterator_.Current(); |
103 DCHECK(result != NULL); | 103 DCHECK(result != NULL); |
104 return result; | 104 return result; |
105 } | 105 } |
106 | 106 |
107 | 107 |
108 void UseIterator::Advance() { | 108 void UseIterator::Advance() { |
109 input_iterator_.Done() ? env_iterator_.Advance() : input_iterator_.Advance(); | 109 input_iterator_.Done() ? env_iterator_.Advance() : input_iterator_.Advance(); |
110 } | 110 } |
111 } | 111 } // namespace internal |
112 } // namespace v8::internal | 112 } // namespace v8 |
113 | 113 |
114 #endif // V8_LITHIUM_INL_H_ | 114 #endif // V8_LITHIUM_INL_H_ |
OLD | NEW |