Please let me know what you think, thanks!
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Initial comments.
Please ask @alexm...@google.com for review while I am away for holidays :)
if (dartType is FunctionType) {1. Please update deeply immutable documentation in the repo (e.g. in `runtime/docs` to match the semantics being implemented).
2. Please add tests to cover new functionality - including both negative and positive tests.
class GuardFieldImmutabilityInstr : public GuardFieldInstr {To avoid confusion with speculative field guards I suggest we use either `CheckImmutableValue` or `AssertImmutableValue`.
Also don't make it subclass of `GuardFieldInstr` (which is `NoThrow`) - these checks are not _speculative_ and don't maintain dynamic guarded field state, they throw when value is incorrect. Thus these checks are more similar to implicit `as` casts than guards.
const Context& context = Context::Handle(zone, closure.GetContext());Once we scanned closure - I wonder if we want to update its tag bits so that next time we come to scan the same closure we don't need to do that?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +1 |
class GuardFieldImmutabilityInstr : public GuardFieldInstr {To avoid confusion with speculative field guards I suggest we use either `CheckImmutableValue` or `AssertImmutableValue`.
Also don't make it subclass of `GuardFieldInstr` (which is `NoThrow`) - these checks are not _speculative_ and don't maintain dynamic guarded field state, they throw when value is incorrect. Thus these checks are more similar to implicit `as` casts than guards.
Done
const Context& context = Context::Handle(zone, closure.GetContext());Once we scanned closure - I wonder if we want to update its tag bits so that next time we come to scan the same closure we don't need to do that?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
1. Please update deeply immutable documentation in the repo (e.g. in `runtime/docs` to match the semantics being implemented).
2. Please add tests to cover new functionality - including both negative and positive tests.
Done
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |