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

Side by Side Diff: src/d8.h

Issue 209323014: Roll ICU 239289:258359 and add support for external ICU data tables (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 9 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
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 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 last_run(true), 226 last_run(true),
227 send_idle_notification(false), 227 send_idle_notification(false),
228 stress_opt(false), 228 stress_opt(false),
229 stress_deopt(false), 229 stress_deopt(false),
230 interactive_shell(false), 230 interactive_shell(false),
231 test_shell(false), 231 test_shell(false),
232 dump_heap_constants(false), 232 dump_heap_constants(false),
233 expected_to_throw(false), 233 expected_to_throw(false),
234 mock_arraybuffer_allocator(false), 234 mock_arraybuffer_allocator(false),
235 num_isolates(1), 235 num_isolates(1),
236 isolate_sources(NULL) { } 236 isolate_sources(NULL),
237 icu_data_file(NULL) { }
237 238
238 ~ShellOptions() { 239 ~ShellOptions() {
239 #ifndef V8_SHARED 240 #ifndef V8_SHARED
240 delete[] parallel_files; 241 delete[] parallel_files;
241 #endif // V8_SHARED 242 #endif // V8_SHARED
242 delete[] isolate_sources; 243 delete[] isolate_sources;
243 } 244 }
244 245
245 #ifndef V8_SHARED 246 #ifndef V8_SHARED
246 int num_parallel_files; 247 int num_parallel_files;
247 char** parallel_files; 248 char** parallel_files;
248 #endif // V8_SHARED 249 #endif // V8_SHARED
249 bool script_executed; 250 bool script_executed;
250 bool last_run; 251 bool last_run;
251 bool send_idle_notification; 252 bool send_idle_notification;
252 bool stress_opt; 253 bool stress_opt;
253 bool stress_deopt; 254 bool stress_deopt;
254 bool interactive_shell; 255 bool interactive_shell;
255 bool test_shell; 256 bool test_shell;
256 bool dump_heap_constants; 257 bool dump_heap_constants;
257 bool expected_to_throw; 258 bool expected_to_throw;
258 bool mock_arraybuffer_allocator; 259 bool mock_arraybuffer_allocator;
259 int num_isolates; 260 int num_isolates;
260 SourceGroup* isolate_sources; 261 SourceGroup* isolate_sources;
262 const char* icu_data_file;
261 }; 263 };
262 264
263 #ifdef V8_SHARED 265 #ifdef V8_SHARED
264 class Shell { 266 class Shell {
265 #else 267 #else
266 class Shell : public i::AllStatic { 268 class Shell : public i::AllStatic {
267 #endif // V8_SHARED 269 #endif // V8_SHARED
268 270
269 public: 271 public:
270 static bool ExecuteString(Isolate* isolate, 272 static bool ExecuteString(Isolate* isolate,
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 static void ExternalArrayWeakCallback(Isolate* isolate, 426 static void ExternalArrayWeakCallback(Isolate* isolate,
425 Persistent<Object>* object, 427 Persistent<Object>* object,
426 uint8_t* data); 428 uint8_t* data);
427 }; 429 };
428 430
429 431
430 } // namespace v8 432 } // namespace v8
431 433
432 434
433 #endif // V8_D8_H_ 435 #endif // V8_D8_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698