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

Side by Side Diff: src/flag-definitions.h

Issue 7519: Added first shot at a development shell (Closed)
Patch Set: Factored js code out of d8.cc. Created 12 years, 2 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
OLDNEW
1 // Copyright 2008 the V8 project authors. All rights reserved. 1 // Copyright 2008 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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 DEFINE_string(testing_string_flag, "Hello, world!", "string-flag") 184 DEFINE_string(testing_string_flag, "Hello, world!", "string-flag")
185 DEFINE_int(testing_prng_seed, 42, "Seed used for threading test randomness") 185 DEFINE_int(testing_prng_seed, 42, "Seed used for threading test randomness")
186 #ifdef WIN32 186 #ifdef WIN32
187 DEFINE_string(testing_serialization_file, "C:\\Windows\\Temp\\serdes", 187 DEFINE_string(testing_serialization_file, "C:\\Windows\\Temp\\serdes",
188 "file in which to testing_serialize heap") 188 "file in which to testing_serialize heap")
189 #else 189 #else
190 DEFINE_string(testing_serialization_file, "/tmp/serdes", 190 DEFINE_string(testing_serialization_file, "/tmp/serdes",
191 "file in which to serialize heap") 191 "file in which to serialize heap")
192 #endif 192 #endif
193 193
194 //
195 // Dev shell flags
196 //
194 197
198 DEFINE_bool(dump_counters, false, "Dump counters on exit")
195 199
196 // 200 //
197 // Debug only flags 201 // Debug only flags
198 // 202 //
199 #undef FLAG 203 #undef FLAG
200 #ifdef DEBUG 204 #ifdef DEBUG
201 #define FLAG FLAG_FULL 205 #define FLAG FLAG_FULL
202 #else 206 #else
203 #define FLAG FLAG_READONLY 207 #define FLAG FLAG_READONLY
204 #endif 208 #endif
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 #undef FLAG 299 #undef FLAG
296 #ifdef ENABLE_DISASSEMBLER 300 #ifdef ENABLE_DISASSEMBLER
297 #define FLAG FLAG_FULL 301 #define FLAG FLAG_FULL
298 #else 302 #else
299 #define FLAG FLAG_READONLY 303 #define FLAG FLAG_READONLY
300 #endif 304 #endif
301 305
302 // codegen-ia32.cc / codegen-arm.cc 306 // codegen-ia32.cc / codegen-arm.cc
303 DEFINE_bool(print_code, false, "print generated code") 307 DEFINE_bool(print_code, false, "print generated code")
304 308
305
306 // Cleanup... 309 // Cleanup...
307 #undef FLAG_FULL 310 #undef FLAG_FULL
308 #undef FLAG_READONLY 311 #undef FLAG_READONLY
309 #undef FLAG 312 #undef FLAG
310 313
311 #undef DEFINE_bool 314 #undef DEFINE_bool
312 #undef DEFINE_int 315 #undef DEFINE_int
313 #undef DEFINE_string 316 #undef DEFINE_string
314 317
315 #undef FLAG_MODE_DECLARE 318 #undef FLAG_MODE_DECLARE
316 #undef FLAG_MODE_DEFINE 319 #undef FLAG_MODE_DEFINE
317 #undef FLAG_MODE_DEFINE_DEFAULTS 320 #undef FLAG_MODE_DEFINE_DEFAULTS
318 #undef FLAG_MODE_META 321 #undef FLAG_MODE_META
OLDNEW
« src/d8.js ('K') | « src/d8-readline.cc ('k') | src/natives.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698