Commit c086736
src: create Environment properties in Environment::CreateProperties()
Move creation of `env->as_callback_data()`, `env->primordials()`
and `env->process()` into `Environment::CreateProperties()` and
call it in the `Environment` constructor - this can be replaced with
deserialization when we snapshot the per-environment properties
after the instantiation of `Environment`.
PR-URL: #27539
Reviewed-By: Anna Henningsen <anna@addaleax.net>1 parent 70f8e71 commit c086736Copy full SHA for c086736
Expand file treeCollapse file tree
3 files changed
+31
-22
lines changedOpen diff view settings
Collapse file
+29-11Lines changed: 29 additions & 11 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
235 | 235 | |
236 | 236 | |
237 | 237 | |
| 238 | + |
| 239 | + |
| 240 | + |
| 241 | + |
| 242 | + |
| 243 | + |
| 244 | + |
| 245 | + |
| 246 | + |
| 247 | + |
| 248 | + |
| 249 | + |
| 250 | + |
| 251 | + |
| 252 | + |
| 253 | + |
| 254 | + |
| 255 | + |
| 256 | + |
| 257 | + |
| 258 | + |
| 259 | + |
| 260 | + |
| 261 | + |
| 262 | + |
| 263 | + |
238 | 264 | |
239 | 265 | |
240 | 266 | |
| ||
258 | 284 | |
259 | 285 | |
260 | 286 | |
261 | | - |
262 | | - |
263 | | - |
264 | | - |
265 | | - |
266 | | - |
267 | | - |
268 | | - |
269 | | - |
270 | | - |
271 | 287 | |
272 | 288 | |
273 | 289 | |
| ||
339 | 355 | |
340 | 356 | |
341 | 357 | |
342 | | - |
| 358 | + |
| 359 | + |
| 360 | + |
343 | 361 | |
344 | 362 | |
345 | 363 | |
|
Collapse file
+2Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
796 | 796 | |
797 | 797 | |
798 | 798 | |
| 799 | + |
| 800 | + |
799 | 801 | |
800 | 802 | |
801 | 803 | |
|
Collapse file
-11Lines changed: 0 additions & 11 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
249 | 249 | |
250 | 250 | |
251 | 251 | |
252 | | - |
253 | | - |
254 | | - |
255 | | - |
256 | | - |
257 | | - |
258 | | - |
259 | | - |
260 | | - |
261 | | - |
262 | | - |
263 | 252 | |
264 | 253 | |
265 | 254 | |
|
0 commit comments