Fix arm64 compilation with clang.

TBR=svenpanne@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22894 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
bmeurer@chromium.org 2014-08-06 04:30:06 +00:00
parent 803538ba2e
commit 83a8165129
2 changed files with 2 additions and 2 deletions

View File

@ -1797,7 +1797,7 @@ Disassembler::Disassembler(const NameConverter& converter)
: converter_(converter) {}
Disassembler::~Disassembler() {}
Disassembler::~Disassembler() { USE(converter_); }
int Disassembler::InstructionDecode(v8::internal::Vector<char> buffer,

View File

@ -425,7 +425,7 @@ class EmbeddedVector : public Vector<T> {
EmbeddedVector(const EmbeddedVector& rhs)
: Vector<T>(rhs) {
MemCopy(buffer_, rhs.buffer_, sizeof(T) * kSize);
set_start(buffer_);
this->set_start(buffer_);
}
EmbeddedVector& operator=(const EmbeddedVector& rhs) {