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

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

Issue 2034083002: Don't compile functions in a context the caller doesn't have access to (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates Created 4 years, 5 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
« no previous file with comments | « src/builtins.cc ('k') | test/cctest/test-api.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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file defines all of the flags. It is separated into different section, 5 // This file defines all of the flags. It is separated into different section,
6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the 6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the
7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'. 7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'.
8 // 8 //
9 // This include does not have a guard, because it is a template-style include, 9 // This include does not have a guard, because it is a template-style include,
10 // which can be included multiple times in different modes. It expects to have 10 // which can be included multiple times in different modes. It expects to have
(...skipping 570 matching lines...) Expand 10 before | Expand all | Expand 10 after
581 "expose gc extension under the specified name") 581 "expose gc extension under the specified name")
582 DEFINE_IMPLICATION(expose_gc_as, expose_gc) 582 DEFINE_IMPLICATION(expose_gc_as, expose_gc)
583 DEFINE_BOOL(expose_externalize_string, false, 583 DEFINE_BOOL(expose_externalize_string, false,
584 "expose externalize string extension") 584 "expose externalize string extension")
585 DEFINE_BOOL(expose_trigger_failure, false, "expose trigger-failure extension") 585 DEFINE_BOOL(expose_trigger_failure, false, "expose trigger-failure extension")
586 DEFINE_INT(stack_trace_limit, 10, "number of stack frames to capture") 586 DEFINE_INT(stack_trace_limit, 10, "number of stack frames to capture")
587 DEFINE_BOOL(builtins_in_stack_traces, false, 587 DEFINE_BOOL(builtins_in_stack_traces, false,
588 "show built-in functions in stack traces") 588 "show built-in functions in stack traces")
589 DEFINE_BOOL(disable_native_files, false, "disable builtin natives files") 589 DEFINE_BOOL(disable_native_files, false, "disable builtin natives files")
590 590
591 // builtins.cc
592 DEFINE_BOOL(allow_unsafe_function_constructor, false,
593 "allow invoking the function constructor without security checks")
594
591 // builtins-ia32.cc 595 // builtins-ia32.cc
592 DEFINE_BOOL(inline_new, true, "use fast inline allocation") 596 DEFINE_BOOL(inline_new, true, "use fast inline allocation")
593 597
594 // codegen-ia32.cc / codegen-arm.cc 598 // codegen-ia32.cc / codegen-arm.cc
595 DEFINE_BOOL(trace_codegen, false, 599 DEFINE_BOOL(trace_codegen, false,
596 "print name of functions for which code is generated") 600 "print name of functions for which code is generated")
597 DEFINE_BOOL(trace, false, "trace function calls") 601 DEFINE_BOOL(trace, false, "trace function calls")
598 DEFINE_BOOL(mask_constants_with_cookie, true, 602 DEFINE_BOOL(mask_constants_with_cookie, true,
599 "use random jit cookie to mask large constants") 603 "use random jit cookie to mask large constants")
600 604
(...skipping 595 matching lines...) Expand 10 before | Expand all | Expand 10 after
1196 #undef DEFINE_ALIAS_FLOAT 1200 #undef DEFINE_ALIAS_FLOAT
1197 #undef DEFINE_ALIAS_ARGS 1201 #undef DEFINE_ALIAS_ARGS
1198 1202
1199 #undef FLAG_MODE_DECLARE 1203 #undef FLAG_MODE_DECLARE
1200 #undef FLAG_MODE_DEFINE 1204 #undef FLAG_MODE_DEFINE
1201 #undef FLAG_MODE_DEFINE_DEFAULTS 1205 #undef FLAG_MODE_DEFINE_DEFAULTS
1202 #undef FLAG_MODE_META 1206 #undef FLAG_MODE_META
1203 #undef FLAG_MODE_DEFINE_IMPLICATIONS 1207 #undef FLAG_MODE_DEFINE_IMPLICATIONS
1204 1208
1205 #undef COMMA 1209 #undef COMMA
OLDNEW
« no previous file with comments | « src/builtins.cc ('k') | test/cctest/test-api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698