Commit 056001d
deps: cherry-pick 0bcb1d6f from upstream V8
Original commit message:
Introduce --disallow-code-generation-from-strings
Exposing the existing Context::AllowCodeGenerationFromStrings(false) API
to the command line.
Bug: v8:7134
Change-Id: I062ccff0b03c5bcf6878c41c455c0ded37a1d743
Reviewed-on: https://chromium-review.googlesource.com/809631
Reviewed-by: Michael Starzinger <mstarzinger@chromium.org>
Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
Cr-Commit-Position: refs/heads/master@{#49911}
PR-URL: #18212
Refs: v8/v8@0bcb1d6
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Gus Caplan <me@gus.host>1 parent ae2dabb commit 056001dCopy full SHA for 056001d
File tree
Expand file treeCollapse file tree
4 files changed
+17
-1
lines changedOpen diff view settings
Filter options
- deps/v8
- src
- test/mjsunit
Expand file treeCollapse file tree
4 files changed
+17
-1
lines changedOpen diff view settings
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
27 | 27 | |
28 | 28 | |
29 | 29 | |
30 | | - |
| 30 | + |
31 | 31 | |
32 | 32 | |
33 | 33 | |
|
Collapse file
deps/v8/src/bootstrapper.cc
Copy file name to clipboardExpand all lines: deps/v8/src/bootstrapper.cc+5Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
5299 | 5299 | |
5300 | 5300 | |
5301 | 5301 | |
| 5302 | + |
| 5303 | + |
| 5304 | + |
| 5305 | + |
| 5306 | + |
5302 | 5307 | |
5303 | 5308 | |
5304 | 5309 | |
|
Collapse file
deps/v8/src/flag-definitions.h
Copy file name to clipboardExpand all lines: deps/v8/src/flag-definitions.h+2Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
732 | 732 | |
733 | 733 | |
734 | 734 | |
| 735 | + |
| 736 | + |
735 | 737 | |
736 | 738 | |
737 | 739 | |
|
Collapse file
deps/v8/test/mjsunit/disallow-codegen-from-strings.js
Copy file name to clipboard+9Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
0 commit comments