OLD | NEW |
1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 2009 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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 #endif // V8_SHARED | 183 #endif // V8_SHARED |
184 script_executed(false), | 184 script_executed(false), |
185 last_run(true), | 185 last_run(true), |
186 stress_opt(false), | 186 stress_opt(false), |
187 stress_deopt(false), | 187 stress_deopt(false), |
188 interactive_shell(false), | 188 interactive_shell(false), |
189 test_shell(false), | 189 test_shell(false), |
190 num_isolates(1), | 190 num_isolates(1), |
191 isolate_sources(NULL) { } | 191 isolate_sources(NULL) { } |
192 | 192 |
| 193 ~ShellOptions(); |
| 194 |
193 #ifndef V8_SHARED | 195 #ifndef V8_SHARED |
194 bool use_preemption; | 196 bool use_preemption; |
195 int preemption_interval; | 197 int preemption_interval; |
196 i::List< i::Vector<const char> >* parallel_files; | 198 i::List< i::Vector<const char> >* parallel_files; |
197 #endif // V8_SHARED | 199 #endif // V8_SHARED |
198 bool script_executed; | 200 bool script_executed; |
199 bool last_run; | 201 bool last_run; |
200 bool stress_opt; | 202 bool stress_opt; |
201 bool stress_deopt; | 203 bool stress_deopt; |
202 bool interactive_shell; | 204 bool interactive_shell; |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
352 LineEditor* next_; | 354 LineEditor* next_; |
353 static LineEditor* first_; | 355 static LineEditor* first_; |
354 }; | 356 }; |
355 #endif // V8_SHARED | 357 #endif // V8_SHARED |
356 | 358 |
357 | 359 |
358 } // namespace v8 | 360 } // namespace v8 |
359 | 361 |
360 | 362 |
361 #endif // V8_D8_H_ | 363 #endif // V8_D8_H_ |
OLD | NEW |