diff options
author | Piotr Jastrzebski <haaawk@google.com> | 2014-10-16 11:04:27 +0100 |
---|---|---|
committer | Piotr Jastrzebski <haaawk@google.com> | 2014-10-16 11:15:57 +0100 |
commit | c5ef693b3fec328c6f4a566d572c36f6587a6ab1 (patch) | |
tree | 2476c6c8bc3bbcad30dd66a7f1e384acab6ea042 /compiler/optimizing/graph_visualizer.h | |
parent | 5c5efc253507eb43265997c9afcd778f72b6cef4 (diff) |
Stop using |instance_| in Runtime::InitNativeMethods.
Runtime::InitNativeMethods is a member function so we
don't need to use |instance_| to call Runtime methods there.
I believe that this call uses |instance_| instead of |this|
because it was originally in a static Runtime::Create method.
It was originally called 'instance_->InitLibraries();' and was
moved to Runtime::Start which is a member function here:
http://ag/#/c/133053/6/src/runtime.cc
and since then it was further moved and renamed but it kept using |instance_|
even though use of |this| seems more appropriate.
Change-Id: I79b9d23873272ba2f124e285602f1b2683c2f27f
Diffstat (limited to 'compiler/optimizing/graph_visualizer.h')
0 files changed, 0 insertions, 0 deletions