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

Side by Side Diff: src/d8.h

Issue 22715004: Version 3.20.15 (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Add TypedArray API and correctness patches r16033 and r16084 Created 7 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 | « src/compiler.cc ('k') | 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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 num_parallel_files(0), 224 num_parallel_files(0),
225 parallel_files(NULL), 225 parallel_files(NULL),
226 #endif // V8_SHARED 226 #endif // V8_SHARED
227 script_executed(false), 227 script_executed(false),
228 last_run(true), 228 last_run(true),
229 send_idle_notification(false), 229 send_idle_notification(false),
230 stress_opt(false), 230 stress_opt(false),
231 stress_deopt(false), 231 stress_deopt(false),
232 interactive_shell(false), 232 interactive_shell(false),
233 test_shell(false), 233 test_shell(false),
234 dump_heap_constants(false),
235 num_isolates(1), 234 num_isolates(1),
236 isolate_sources(NULL) { } 235 isolate_sources(NULL) { }
237 236
238 ~ShellOptions() { 237 ~ShellOptions() {
239 #ifndef V8_SHARED 238 #ifndef V8_SHARED
240 delete[] parallel_files; 239 delete[] parallel_files;
241 #endif // V8_SHARED 240 #endif // V8_SHARED
242 delete[] isolate_sources; 241 delete[] isolate_sources;
243 } 242 }
244 243
245 #ifndef V8_SHARED 244 #ifndef V8_SHARED
246 bool use_preemption; 245 bool use_preemption;
247 int preemption_interval; 246 int preemption_interval;
248 int num_parallel_files; 247 int num_parallel_files;
249 char** parallel_files; 248 char** parallel_files;
250 #endif // V8_SHARED 249 #endif // V8_SHARED
251 bool script_executed; 250 bool script_executed;
252 bool last_run; 251 bool last_run;
253 bool send_idle_notification; 252 bool send_idle_notification;
254 bool stress_opt; 253 bool stress_opt;
255 bool stress_deopt; 254 bool stress_deopt;
256 bool interactive_shell; 255 bool interactive_shell;
257 bool test_shell; 256 bool test_shell;
258 bool dump_heap_constants;
259 int num_isolates; 257 int num_isolates;
260 SourceGroup* isolate_sources; 258 SourceGroup* isolate_sources;
261 }; 259 };
262 260
263 #ifdef V8_SHARED 261 #ifdef V8_SHARED
264 class Shell { 262 class Shell {
265 #else 263 #else
266 class Shell : public i::AllStatic { 264 class Shell : public i::AllStatic {
267 #endif // V8_SHARED 265 #endif // V8_SHARED
268 266
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 static void ExternalArrayWeakCallback(Isolate* isolate, 418 static void ExternalArrayWeakCallback(Isolate* isolate,
421 Persistent<Object>* object, 419 Persistent<Object>* object,
422 uint8_t* data); 420 uint8_t* data);
423 }; 421 };
424 422
425 423
426 } // namespace v8 424 } // namespace v8
427 425
428 426
429 #endif // V8_D8_H_ 427 #endif // V8_D8_H_
OLDNEW
« no previous file with comments | « src/compiler.cc ('k') | src/d8.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698