Fixed race condition in HBranch::observed_input_representation.
authorsvenpanne <svenpanne@chromium.org>
Tue, 25 Nov 2014 14:47:18 +0000 (06:47 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 25 Nov 2014 14:47:32 +0000 (14:47 +0000)
commit11a950fcf73e8f53fb82138435840c1c53091a7a
tree5c555d940916618213108d6db7c148efac0dae1c
parentd15d453fa5aaeeb1f7e010a1baf71e7b3306802b
Fixed race condition in HBranch::observed_input_representation.

Non-numeric static local variables are not thread-safe, and the case
at hand was a premature optimization anyway: The generated code for
the check in question is exactly the same when unfolded.

BUG=chromium:420483

Review URL: https://codereview.chromium.org/756903003

Cr-Commit-Position: refs/heads/master@{#25502}
src/hydrogen-instructions.cc