Summary: This helps debug nullsafe. Before, we would only print the initial and last state of a given node but now we can see all the intermediate steps too. Example before: ``` before: &s -> [Param s ] [UncheckedNonnull] java.lang.String* &this -> [this] [StrictNonnull] Toto* after: &s -> [Param s ] [UncheckedNonnull] java.lang.String* &this -> [this] [StrictNonnull] Toto* ``` After: ``` before: &s -> [Param s ] [UncheckedNonnull] java.lang.String* &this -> [this] [StrictNonnull] Toto* instr: n$0=*&this:Toto* [line 10] new state: n$0 -> [this] [StrictNonnull] Toto* &s -> [Param s ] [UncheckedNonnull] java.lang.String* &this -> [this] [StrictNonnull] Toto* ... instr: EXIT_SCOPE(n$0,n$1,this); [line 10] new state: &s -> [Param s ] [UncheckedNonnull] java.lang.String* &this -> [this] [StrictNonnull] Toto* ``` Reviewed By: mityal Differential Revision: D19973278 fbshipit-source-id: bcea33f96master
parent
c10c7a39a6
commit
317a74ffee
Loading…
Reference in new issue