Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(430)

Side by Side Diff: src/d8.h

Issue 10834405: Fix test failures introduced by r12342. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/d8.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 public: 220 public:
221 ShellOptions() : 221 ShellOptions() :
222 #ifndef V8_SHARED 222 #ifndef V8_SHARED
223 use_preemption(true), 223 use_preemption(true),
224 preemption_interval(10), 224 preemption_interval(10),
225 num_parallel_files(0), 225 num_parallel_files(0),
226 parallel_files(NULL), 226 parallel_files(NULL),
227 #endif // V8_SHARED 227 #endif // V8_SHARED
228 script_executed(false), 228 script_executed(false),
229 last_run(true), 229 last_run(true),
230 send_idle_notification(false),
230 stress_opt(false), 231 stress_opt(false),
231 stress_deopt(false), 232 stress_deopt(false),
232 interactive_shell(false), 233 interactive_shell(false),
233 test_shell(false), 234 test_shell(false),
234 num_isolates(1), 235 num_isolates(1),
235 isolate_sources(NULL) { } 236 isolate_sources(NULL) { }
236 237
237 ~ShellOptions() { 238 ~ShellOptions() {
238 #ifndef V8_SHARED 239 #ifndef V8_SHARED
239 delete[] parallel_files; 240 delete[] parallel_files;
240 #endif // V8_SHARED 241 #endif // V8_SHARED
241 delete[] isolate_sources; 242 delete[] isolate_sources;
242 } 243 }
243 244
244 #ifndef V8_SHARED 245 #ifndef V8_SHARED
245 bool use_preemption; 246 bool use_preemption;
246 int preemption_interval; 247 int preemption_interval;
247 int num_parallel_files; 248 int num_parallel_files;
248 char** parallel_files; 249 char** parallel_files;
249 #endif // V8_SHARED 250 #endif // V8_SHARED
250 bool script_executed; 251 bool script_executed;
251 bool last_run; 252 bool last_run;
253 bool send_idle_notification;
252 bool stress_opt; 254 bool stress_opt;
253 bool stress_deopt; 255 bool stress_deopt;
254 bool interactive_shell; 256 bool interactive_shell;
255 bool test_shell; 257 bool test_shell;
256 int num_isolates; 258 int num_isolates;
257 SourceGroup* isolate_sources; 259 SourceGroup* isolate_sources;
258 }; 260 };
259 261
260 #ifdef V8_SHARED 262 #ifdef V8_SHARED
261 class Shell { 263 class Shell {
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 ExternalArrayType type, 403 ExternalArrayType type,
402 int32_t element_size); 404 int32_t element_size);
403 static void ExternalArrayWeakCallback(Persistent<Value> object, void* data); 405 static void ExternalArrayWeakCallback(Persistent<Value> object, void* data);
404 }; 406 };
405 407
406 408
407 } // namespace v8 409 } // namespace v8
408 410
409 411
410 #endif // V8_D8_H_ 412 #endif // V8_D8_H_
OLDNEW
« no previous file with comments | « no previous file | src/d8.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698