CARVIEW |
Select Language
HTTP/2 200
date: Wed, 23 Jul 2025 06:16:39 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/"b1bfac67874164a7248027b0b3e21316"
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=2hQrDE9RmaPtluRXKrRTUJJYPXqQYQ8SdKbp4gSU0Ael8Rtc7nn3t7QCjxvbpkhSk8vjWfyd7%2BHlq2VvlrV43LLJDBioyVsWmmrIwS3lt3pcxEKoZSbPDoD3Rsm6sYByf0QDdfFVWSbQZLOKI1x%2FWNjZWOqWwSGDdoBXeor4dSH3y28IwxW2qP%2Fr8x44REoAiiOgt3i0IMKmNK7c%2FMPWCJ0Eh6QP5r1S%2FBNOlxqsnyuRx3ELvbDh2qv3EUkq%2BYbt3vdihGat7qviZzMViPyLQQ%3D%3D--mHSPngEBpwusRrRF--FG7U7dT7HVMVU2gsMCxdJg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1206554853.1753251397; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 06:16:37 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 06:16:37 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: ECCC:3644F0:4DB58E:65242C:68807E45
Share SimpleTypeHandler types on function objects. Currently when we … · chakra-core/ChakraCore@b748a70 · GitHub
Copy file name to clipboardExpand all lines: lib/Runtime/Base/FunctionBody.cpp
Copy file name to clipboardExpand all lines: lib/Runtime/Base/FunctionBody.h
Copy file name to clipboardExpand all lines: lib/Runtime/Library/JavascriptLibrary.cpp
Copy file name to clipboardExpand all lines: lib/Runtime/Library/ScriptFunction.cpp
Copy file name to clipboardExpand all lines: lib/Runtime/Types/DeferredTypeHandler.cpp
Copy file name to clipboardExpand all lines: lib/Runtime/Types/DeferredTypeHandler.h
Copy file name to clipboardExpand all lines: lib/Runtime/Types/DynamicObject.h
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit b748a70
committed
Share SimpleTypeHandler types on function objects. Currently when we transition from DeferredTypeHandler to SimpleTypeHandler on first access to a function object's properties, we don't share the new type we create. Track an undeferred type along with the deferredPrototypeType on FunctionProxy and re-use it whenever possible for multiple instances of the same function. (This is a first step in broader sharing of function object types.)
1 parent c2cb6fc commit b748a70Copy full SHA for b748a70
File tree
Expand file treeCollapse file tree
7 files changed
+76
-55
lines changedFilter options
- lib/Runtime
- Base
- Library
- Types
Expand file treeCollapse file tree
7 files changed
+76
-55
lines changedlib/Runtime/Base/FunctionBody.cpp
Copy file name to clipboardExpand all lines: lib/Runtime/Base/FunctionBody.cpp+27Lines changed: 27 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
72 | 72 |
| |
73 | 73 |
| |
74 | 74 |
| |
| 75 | + | |
| 76 | + | |
75 | 77 |
| |
76 | 78 |
| |
77 | 79 |
| |
| |||
1472 | 1474 |
| |
1473 | 1475 |
| |
1474 | 1476 |
| |
| 1477 | + | |
| 1478 | + | |
1475 | 1479 |
| |
1476 | 1480 |
| |
1477 | 1481 |
| |
| |||
2015 | 2019 |
| |
2016 | 2020 |
| |
2017 | 2021 |
| |
| 2022 | + | |
| 2023 | + | |
| 2024 | + | |
| 2025 | + | |
| 2026 | + | |
| 2027 | + | |
| 2028 | + | |
| 2029 | + | |
| 2030 | + | |
| 2031 | + | |
2018 | 2032 |
| |
2019 | 2033 |
| |
2020 | 2034 |
| |
| |||
2055 | 2069 |
| |
2056 | 2070 |
| |
2057 | 2071 |
| |
| 2072 | + | |
| 2073 | + | |
2058 | 2074 |
| |
2059 | 2075 |
| |
2060 | 2076 |
| |
| |||
4871 | 4887 |
| |
4872 | 4888 |
| |
4873 | 4889 |
| |
| 4890 | + | |
| 4891 | + | |
| 4892 | + | |
| 4893 | + | |
| 4894 | + | |
4874 | 4895 |
| |
4875 | 4896 |
| |
4876 | 4897 |
| |
| |||
5109 | 5130 |
| |
5110 | 5131 |
| |
5111 | 5132 |
| |
| 5133 | + | |
5112 | 5134 |
| |
5113 | 5135 |
| |
5114 | 5136 |
| |
| |||
5169 | 5191 |
| |
5170 | 5192 |
| |
5171 | 5193 |
| |
| 5194 | + | |
| 5195 | + | |
| 5196 | + | |
| 5197 | + | |
| 5198 | + | |
5172 | 5199 |
| |
5173 | 5200 |
| |
5174 | 5201 |
| |
|
lib/Runtime/Base/FunctionBody.h
Copy file name to clipboardExpand all lines: lib/Runtime/Base/FunctionBody.h+3Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1290 | 1290 |
| |
1291 | 1291 |
| |
1292 | 1292 |
| |
| 1293 | + | |
| 1294 | + | |
1293 | 1295 |
| |
1294 | 1296 |
| |
1295 | 1297 |
| |
| |||
1368 | 1370 |
| |
1369 | 1371 |
| |
1370 | 1372 |
| |
| 1373 | + | |
1371 | 1374 |
| |
1372 | 1375 |
| |
1373 | 1376 |
| |
|
lib/Runtime/Library/JavascriptLibrary.cpp
Copy file name to clipboardExpand all lines: lib/Runtime/Library/JavascriptLibrary.cpp+15-28Lines changed: 15 additions & 28 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
631 | 631 |
| |
632 | 632 |
| |
633 | 633 |
| |
634 |
| - | |
| 634 | + | |
635 | 635 |
| |
636 |
| - | |
| 636 | + | |
| 637 | + | |
637 | 638 |
| |
638 | 639 |
| |
639 |
| - | |
| 640 | + | |
640 | 641 |
| |
641 | 642 |
| |
642 | 643 |
| |
| |||
675 | 676 |
| |
676 | 677 |
| |
677 | 678 |
| |
678 |
| - | |
| 679 | + | |
679 | 680 |
| |
| 681 | + | |
680 | 682 |
| |
681 | 683 |
| |
682 | 684 |
| |
| |||
689 | 691 |
| |
690 | 692 |
| |
691 | 693 |
| |
692 |
| - | |
| 694 | + | |
693 | 695 |
| |
694 | 696 |
| |
695 | 697 |
| |
696 |
| - | |
697 |
| - | |
698 |
| - | |
699 |
| - | |
700 |
| - | |
701 |
| - | |
702 |
| - | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
703 | 705 |
| |
704 |
| - | |
| 706 | + | |
705 | 707 |
| |
706 | 708 |
| |
707 | 709 |
| |
| |||
5012 | 5014 |
| |
5013 | 5015 |
| |
5014 | 5016 |
| |
5015 |
| - | |
5016 |
| - | |
5017 |
| - | |
5018 |
| - | |
5019 |
| - | |
5020 |
| - | |
5021 |
| - | |
5022 |
| - | |
5023 |
| - | |
5024 |
| - | |
5025 |
| - | |
5026 |
| - | |
5027 |
| - | |
5028 |
| - | |
5029 |
| - | |
5030 | 5017 |
| |
5031 | 5018 |
| |
5032 | 5019 |
| |
|
lib/Runtime/Library/ScriptFunction.cpp
Copy file name to clipboardExpand all lines: lib/Runtime/Library/ScriptFunction.cpp+1-13Lines changed: 1 addition & 13 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
268 | 268 |
| |
269 | 269 |
| |
270 | 270 |
| |
| 271 | + | |
271 | 272 |
| |
272 | 273 |
| |
273 | 274 |
| |
274 |
| - | |
275 |
| - | |
276 |
| - | |
277 |
| - | |
278 |
| - | |
279 |
| - | |
280 |
| - | |
281 |
| - | |
282 |
| - | |
283 |
| - | |
284 |
| - | |
285 |
| - | |
286 |
| - | |
287 | 275 |
| |
288 | 276 |
| |
289 | 277 |
| |
|
lib/Runtime/Types/DeferredTypeHandler.cpp
Copy file name to clipboardExpand all lines: lib/Runtime/Types/DeferredTypeHandler.cpp+24-2Lines changed: 24 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
27 |
| - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
28 | 50 |
| |
29 | 51 |
| |
30 | 52 |
| |
|
lib/Runtime/Types/DeferredTypeHandler.h
Copy file name to clipboardExpand all lines: lib/Runtime/Types/DeferredTypeHandler.h+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
24 |
| - | |
| 24 | + | |
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
|
lib/Runtime/Types/DynamicObject.h
Copy file name to clipboardExpand all lines: lib/Runtime/Types/DynamicObject.h+5-11Lines changed: 5 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
67 | 67 |
| |
68 | 68 |
| |
69 | 69 |
| |
70 |
| - | |
71 |
| - | |
72 |
| - | |
73 |
| - | |
74 |
| - | |
75 |
| - | |
76 |
| - | |
77 |
| - | |
78 |
| - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
79 | 73 |
| |
80 | 74 |
| |
81 | 75 |
| |
| |||
111 | 105 |
| |
112 | 106 |
| |
113 | 107 |
| |
114 |
| - | |
115 |
| - | |
116 | 108 |
| |
117 | 109 |
| |
118 | 110 |
| |
| |||
138 | 130 |
| |
139 | 131 |
| |
140 | 132 |
| |
| 133 | + | |
| 134 | + | |
141 | 135 |
| |
142 | 136 |
| |
143 | 137 |
| |
|
You can’t perform that action at this time.
0 commit comments