CARVIEW |
Select Language
HTTP/2 200
date: Wed, 23 Jul 2025 00:54:18 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/chakra-core/ChakraCore.git
etag: W/"73fa305923090a7355b2649e99a6354e"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=ujueheVovjjS%2BRuQA2LrYQVfe6K8YtZP7KPqciAm0%2FjLTQlLsjTA6ZgTGuRWyDxJxKfLE6FPc5JCm1V3NakJzZ3GAXDH2FmxQfvPBDFVhFqh61%2F8Lg06DcZ61gxO8YImOeD7YGfhUz2TkphhPMwUh6NVuwOC6m2QIfruK9cT84aUi39Mj7l2gCJ4xPerjXbvOsONyET57BQH8ba8qhTcLLSgl9m9TBUpTEzpq8pGolZYq9N5mY4%2B2TM9XkY50nbmnNSvy1w1zpk8Mf3ujY4JLA%3D%3D--Fq326Vk1ZwfEZcq1--NgqN%2Fi%2FFRkVFwjCfk6fDSQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.2106479866.1753232057; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 00:54:17 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 00:54:17 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 995A:D3350:20F6E5:2E3326:688032B9
Use PathTypeHandler's for function objects with non-default propertie… · chakra-core/ChakraCore@978c171 · GitHub
Copy file name to clipboardExpand all lines: lib/Runtime/Language/CacheOperators.cpp
Copy file name to clipboardExpand all lines: lib/Runtime/Library/JavascriptLibrary.cpp
Copy file name to clipboardExpand all lines: lib/Runtime/Library/JavascriptLibrary.h
Copy file name to clipboardExpand all lines: lib/Runtime/Library/JavascriptProxy.cpp
Copy file name to clipboardExpand all lines: lib/Runtime/Library/ScriptFunction.cpp
Copy file name to clipboardExpand all lines: lib/Runtime/Types/PathTypeHandler.cpp
Copy file name to clipboardExpand all lines: lib/Runtime/Types/PathTypeHandler.h
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit 978c171
committed
Use PathTypeHandler's for function objects with non-default properties/attributes. Move from creating new non-shared SimpleTypeHandler's when a new property is added to a SimpleTypeHandler, or an attribute is changed, to creating PathTypeHandler's. Build a new root and evolve from the root to the current state of the SimpleTypeHandler, then replace the type's existing SimpleTypeHandler with the new PathTypeHandler. From there, we can evolve to the state required by the new property/attribute, and future instances of the same function that make the same type transition will get the same type. Also fix up some shared SimpleTypeHandler's in the library that didn't represent the desired state of their library objects and were forcing type transitions during initialization.
1 parent e8c4ae6 commit 978c171Copy full SHA for 978c171
File tree
Expand file treeCollapse file tree
10 files changed
+186
-73
lines changedFilter options
- lib/Runtime
- Language
- Library
- Types
Expand file treeCollapse file tree
10 files changed
+186
-73
lines changedlib/Runtime/Language/CacheOperators.cpp
Copy file name to clipboardExpand all lines: lib/Runtime/Language/CacheOperators.cpp+8Lines changed: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
234 | 234 |
| |
235 | 235 |
| |
236 | 236 |
| |
| 237 | + | |
237 | 238 |
| |
238 | 239 |
| |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
239 | 247 |
| |
240 | 248 |
| |
241 | 249 |
| |
|
lib/Runtime/Library/JavascriptLibrary.cpp
Copy file name to clipboardExpand all lines: lib/Runtime/Library/JavascriptLibrary.cpp+28-4Lines changed: 28 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
35 | 41 |
| |
36 | 42 |
| |
37 | 43 |
| |
| |||
40 | 46 |
| |
41 | 47 |
| |
42 | 48 |
| |
43 |
| - | |
| 49 | + | |
44 | 50 |
| |
45 | 51 |
| |
46 | 52 |
| |
47 | 53 |
| |
48 | 54 |
| |
49 | 55 |
| |
50 |
| - | |
| 56 | + | |
| 57 | + | |
51 | 58 |
| |
52 | 59 |
| |
53 | 60 |
| |
| |||
898 | 905 |
| |
899 | 906 |
| |
900 | 907 |
| |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
901 | 913 |
| |
902 | 914 |
| |
903 | 915 |
| |
| |||
913 | 925 |
| |
914 | 926 |
| |
915 | 927 |
| |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
916 | 936 |
| |
917 | 937 |
| |
918 | 938 |
| |
| |||
5034 | 5054 |
| |
5035 | 5055 |
| |
5036 | 5056 |
| |
5037 |
| - | |
| 5057 | + | |
5038 | 5058 |
| |
5039 |
| - | |
5040 | 5059 |
| |
5041 | 5060 |
| |
| 5061 | + | |
| 5062 | + | |
| 5063 | + | |
| 5064 | + | |
| 5065 | + | |
5042 | 5066 |
| |
5043 | 5067 |
| |
5044 | 5068 |
| |
|
lib/Runtime/Library/JavascriptLibrary.h
Copy file name to clipboardExpand all lines: lib/Runtime/Library/JavascriptLibrary.h+5-1Lines changed: 5 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
519 | 519 |
| |
520 | 520 |
| |
521 | 521 |
| |
| 522 | + | |
522 | 523 |
| |
523 | 524 |
| |
524 |
| - | |
| 525 | + | |
525 | 526 |
| |
526 | 527 |
| |
527 | 528 |
| |
528 | 529 |
| |
| 530 | + | |
529 | 531 |
| |
530 | 532 |
| |
531 | 533 |
| |
| |||
984 | 986 |
| |
985 | 987 |
| |
986 | 988 |
| |
| 989 | + | |
987 | 990 |
| |
988 | 991 |
| |
989 | 992 |
| |
| 993 | + | |
990 | 994 |
| |
991 | 995 |
| |
992 | 996 |
| |
|
lib/Runtime/Library/JavascriptProxy.cpp
Copy file name to clipboardExpand all lines: lib/Runtime/Library/JavascriptProxy.cpp+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
130 | 130 |
| |
131 | 131 |
| |
132 | 132 |
| |
133 |
| - | |
| 133 | + | |
134 | 134 |
| |
135 | 135 |
| |
136 | 136 |
| |
|
lib/Runtime/Library/ScriptFunction.cpp
Copy file name to clipboardExpand all lines: lib/Runtime/Library/ScriptFunction.cpp+14Lines changed: 14 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
106 | 106 |
| |
107 | 107 |
| |
108 | 108 |
| |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
109 | 116 |
| |
110 | 117 |
| |
111 | 118 |
| |
| |||
123 | 130 |
| |
124 | 131 |
| |
125 | 132 |
| |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
126 | 140 |
| |
127 | 141 |
| |
128 | 142 |
| |
|
+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
134 | 134 |
| |
135 | 135 |
| |
136 | 136 |
| |
137 |
| - | |
| 137 | + | |
138 | 138 |
| |
139 | 139 |
| |
140 | 140 |
| |
|
lib/Runtime/Types/PathTypeHandler.cpp
Copy file name to clipboardExpand all lines: lib/Runtime/Types/PathTypeHandler.cpp+35-7Lines changed: 35 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
130 | 130 |
| |
131 | 131 |
| |
132 | 132 |
| |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
133 | 139 |
| |
134 | 140 |
| |
135 | 141 |
| |
| |||
168 | 174 |
| |
169 | 175 |
| |
170 | 176 |
| |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
171 | 184 |
| |
172 | 185 |
| |
173 | 186 |
| |
| |||
343 | 356 |
| |
344 | 357 |
| |
345 | 358 |
| |
346 |
| - | |
| 359 | + | |
347 | 360 |
| |
348 |
| - | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
349 | 374 |
| |
350 | 375 |
| |
351 | 376 |
| |
| |||
714 | 739 |
| |
715 | 740 |
| |
716 | 741 |
| |
717 |
| - | |
718 |
| - | |
719 | 742 |
| |
720 | 743 |
| |
721 |
| - | |
| 744 | + | |
722 | 745 |
| |
723 | 746 |
| |
724 | 747 |
| |
725 | 748 |
| |
726 | 749 |
| |
727 | 750 |
| |
728 |
| - | |
| 751 | + | |
729 | 752 |
| |
730 | 753 |
| |
731 | 754 |
| |
| |||
1722 | 1745 |
| |
1723 | 1746 |
| |
1724 | 1747 |
| |
1725 |
| - | |
| 1748 | + | |
| 1749 | + | |
| 1750 | + | |
| 1751 | + | |
| 1752 | + | |
| 1753 | + | |
1726 | 1754 |
| |
1727 | 1755 |
| |
1728 | 1756 |
| |
|
lib/Runtime/Types/PathTypeHandler.h
Copy file name to clipboardExpand all lines: lib/Runtime/Types/PathTypeHandler.h+8-1Lines changed: 8 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
| 42 | + | |
42 | 43 |
| |
43 | 44 |
| |
44 | 45 |
| |
| |||
61 | 62 |
| |
62 | 63 |
| |
63 | 64 |
| |
| 65 | + | |
64 | 66 |
| |
65 | 67 |
| |
66 | 68 |
| |
| |||
78 | 80 |
| |
79 | 81 |
| |
80 | 82 |
| |
| 83 | + | |
81 | 84 |
| |
82 | 85 |
| |
83 | 86 |
| |
| |||
89 | 92 |
| |
90 | 93 |
| |
91 | 94 |
| |
| 95 | + | |
| 96 | + | |
92 | 97 |
| |
93 | 98 |
| |
94 | 99 |
| |
| |||
115 | 120 |
| |
116 | 121 |
| |
117 | 122 |
| |
| 123 | + | |
118 | 124 |
| |
119 | 125 |
| |
120 | 126 |
| |
| |||
182 | 188 |
| |
183 | 189 |
| |
184 | 190 |
| |
185 |
| - | |
| 191 | + | |
| 192 | + | |
186 | 193 |
| |
187 | 194 |
| |
188 | 195 |
| |
|
You can’t perform that action at this time.
0 commit comments