| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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_SCOPEINFO_H_ | 5 #ifndef V8_SCOPEINFO_H_ |
| 6 #define V8_SCOPEINFO_H_ | 6 #define V8_SCOPEINFO_H_ |
| 7 | 7 |
| 8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
| 9 #include "src/modules.h" | 9 #include "src/modules.h" |
| 10 #include "src/variables.h" | 10 #include "src/variables.h" |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 void set_name(int i, String* name) { set(name_offset(i), name); } | 162 void set_name(int i, String* name) { set(name_offset(i), name); } |
| 163 void set_mode(int i, VariableMode mode) { | 163 void set_mode(int i, VariableMode mode) { |
| 164 set(mode_offset(i), Smi::FromInt(mode)); | 164 set(mode_offset(i), Smi::FromInt(mode)); |
| 165 } | 165 } |
| 166 void set_index(int i, int index) { | 166 void set_index(int i, int index) { |
| 167 set(index_offset(i), Smi::FromInt(index)); | 167 set(index_offset(i), Smi::FromInt(index)); |
| 168 } | 168 } |
| 169 }; | 169 }; |
| 170 | 170 |
| 171 | 171 |
| 172 } } // namespace v8::internal | 172 } // namespace internal |
| 173 } // namespace v8 |
| 173 | 174 |
| 174 #endif // V8_SCOPEINFO_H_ | 175 #endif // V8_SCOPEINFO_H_ |
| OLD | NEW |