[WebAssembly] Inline translateVA as it's trivial.
authorRui Ueyama <ruiu@google.com>
Wed, 28 Feb 2018 01:01:34 +0000 (01:01 +0000)
committerRui Ueyama <ruiu@google.com>
Wed, 28 Feb 2018 01:01:34 +0000 (01:01 +0000)
commitb911f1221126d7015e40919662da589658798ac1
tree7bda5b71ccfa8d5376271a47a9853ecb546a604a
parent6588f14a6c9149e0c7d1957b0806f06931843e27
[WebAssembly] Inline translateVA as it's trivial.

The problem I want to address now is that chunks have too many data
members for "offsets", and their origins are not well defined.
For example, InputSegment has OutputSegmentOffset, but it's base class
also has OutputOffset. That's very confusing.

Differential Revision: https://reviews.llvm.org/D43726

llvm-svn: 326291
lld/wasm/InputChunks.cpp
lld/wasm/InputChunks.h
lld/wasm/Symbols.cpp