OSDN Git Service

Reduce lifetime of address temporary.
authorNicolas Capens <capn@google.com>
Thu, 16 Nov 2017 15:38:19 +0000 (10:38 -0500)
committerNicolas Capens <nicolascapens@google.com>
Thu, 16 Nov 2017 22:28:20 +0000 (22:28 +0000)
commit6986b28f1859fc5b54ed49a9369b18ebf23fb248
tree70b9e169a57bb37047dcadf82feb9a60d2ab4e99
parent0530b456e024f8bd0358ba9cbaf0b2c8ce5f778a
Reduce lifetime of address temporary.

After traversing the lvalue node tree we're fully done computing the
relative address and emitting any pointer arithmetic that might have
been needed. So the temporary that would have been used for that is no
longer needed.

Change-Id: I0a10bff979128f03544d0f8aa860c29f8867973a
Reviewed-on: https://swiftshader-review.googlesource.com/13948
Tested-by: Nicolas Capens <nicolascapens@google.com>
Reviewed-by: Alexis Hétu <sugoi@google.com>
src/OpenGL/compiler/OutputASM.cpp
src/OpenGL/compiler/OutputASM.h