OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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_EFFECTS_H_ | 5 #ifndef V8_EFFECTS_H_ |
6 #define V8_EFFECTS_H_ | 6 #define V8_EFFECTS_H_ |
7 | 7 |
8 #include "src/types.h" | 8 #include "src/types.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
322 } | 322 } |
323 | 323 |
324 NestedEffects Pop() { | 324 NestedEffects Pop() { |
325 NestedEffects result = *this; | 325 NestedEffects result = *this; |
326 result.pop(); | 326 result.pop(); |
327 DCHECK(!this->is_empty()); | 327 DCHECK(!this->is_empty()); |
328 return result; | 328 return result; |
329 } | 329 } |
330 }; | 330 }; |
331 | 331 |
332 } } // namespace v8::internal | 332 } // namespace internal |
| 333 } // namespace v8 |
333 | 334 |
334 #endif // V8_EFFECTS_H_ | 335 #endif // V8_EFFECTS_H_ |
OLD | NEW |