| Commit-Queue | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
📍 Job linux-r350-perf/blink_perf.bindings complete.
See results at: https://pinpoint-dot-chromeperf.appspot.com/job/1360585f310000
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
📍 Job linux-r350-perf/speedometer3 complete.
See results at: https://pinpoint-dot-chromeperf.appspot.com/job/11846e8f310000
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
// const base::Vector<const DirectHandle<Object>>Leftover?
static_assert(std::is_same_v<ArgT, DirectHandle<Object>> ||nit: You could use concepts instead.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
📍 Job linux-perf/speedometer3 complete.
See results at: https://pinpoint-dot-chromeperf.appspot.com/job/123dbed7310000
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
📍 Job mac-m4-mini-perf/blink_perf.bindings complete.
See results at: https://pinpoint-dot-chromeperf.appspot.com/job/11f2d87f310000
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
📍 Job win-11-perf/blink_perf.bindings complete.
See results at: https://pinpoint-dot-chromeperf.appspot.com/job/12f39da3310000
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
📍 Job mac-m1_mini_2020-perf/blink_perf.bindings complete.
See results at: https://pinpoint-dot-chromeperf.appspot.com/job/11d8d533310000
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
📍 Job mac-m4-mini-perf/speedometer3 complete.
See results at: https://pinpoint-dot-chromeperf.appspot.com/job/1396a958b10000
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
📍 Job mac-m1_mini_2020-perf/speedometer3 complete.
See results at: https://pinpoint-dot-chromeperf.appspot.com/job/124fece7310000
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
📍 Job win-11-perf/speedometer3 complete.
See results at: https://pinpoint-dot-chromeperf.appspot.com/job/105886fb310000
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +1 |
Thanks!
Leszek, PTAL @ include, debug and maglev
// const base::Vector<const DirectHandle<Object>>Igor SheludkoLeftover?
Done
static_assert(std::is_same_v<ArgT, DirectHandle<Object>> ||nit: You could use concepts instead.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
mutable internal::Address values_[1];is this mutable actually needed? Where does the GC mutate the values_ of a const reft to FunctionCallbackInfo?
enum {why have this enum at all, instead of defining the frame fields as members of the class? since you're already reinterpret casting, you could have
```
Address arg_c_;
Adresss frame_sp_;
...
Address args_[1]; // the receiver is the first arg
```
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
lgtm for the parts you asked me to look at, all comments are optional
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Thanks! landing...
mutable internal::Address values_[1];is this mutable actually needed? Where does the GC mutate the values_ of a const reft to FunctionCallbackInfo?
Without `mutable` we can't create handles in `const` methods - handle construction require non-const `Address*`. I thought it's better than using `const_cast`.
why have this enum at all, instead of defining the frame fields as members of the class? since you're already reinterpret casting, you could have
```
Address arg_c_;
Adresss frame_sp_;
...
Address args_[1]; // the receiver is the first arg
```
There are complications with optional constant pool field and new.target value. I was also thinking about making v8::FunctionCallbackInfo object just a wrapper around pointer and pass it to callbacks by value instead of by const reference as we do now.
Let's keep it like this for now and refactor later.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[api] Flatten v8::FunctionCallbackInfo<T>
... in order to simplify CallApiCallback builtin and avoid indirections
on access.
This CL
- makes v8::FunctionCallbackInfo<T> overlap with ApiCallbackExit
frame, so that address of the object points to the location on
stack where the arguments count is stored (then goes the ExitFrame
part including frame type, fp and pc, then goes Api callback
arguments, and finally receiver and JS arguments,
- adds new frame kind and frame type class for [[Construct]] calls to
Api functions (API_CONSTRUCT_EXIT and ApiConstructExitFrame), which
are not created by any builtins yet but such builtins will be added
in a follow-up CL,
- avoids the cost of passing new.target value for non-construct calls
(this is deduced from the frame type),
- drops kUnusedIndex argument,
- reorders StackFrame::Type enum values in order to make
API_CONSTRUCT_EXIT value build-mode independent (all Wasm-related
frame types are now moved to the end of list),
- removes copy/move constructors and assignment/move operators from
v8::FunctionCallbackInfo<T> as copying/moving the object is no
longer possible.
NO_IFTTT=Introducing IFTTT, no logical change.
Bug: 326505377
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Auto-Submit | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Commit-Queue | +2 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[loong64][mips64][api] Flatten v8::FunctionCallbackInfo<T>
Port commit b9c4e374820a3bd42503aeae8917c7a8d4a79530
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[riscv][api] Flatten v8::FunctionCallbackInfo<T>
Port commit b9c4e374820a3bd42503aeae8917c7a8d4a79530
Bug: 326505377
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |