Reviewers: Sven Panne,
Message:
Committed patchset #1 manually as 22894 (presubmit successful).
Description:
Fix arm64 compilation with clang.
[email protected]
Committed: https://code.google.com/p/v8/source/detail?r=22894
Please review this at https://codereview.chromium.org/443823002/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+2, -2 lines):
M src/arm64/disasm-arm64.cc
M src/utils.h
Index: src/arm64/disasm-arm64.cc
diff --git a/src/arm64/disasm-arm64.cc b/src/arm64/disasm-arm64.cc
index
529427f3490fce02e53b7dbd94979c51d2791d37..b8b1d5d2561b57a8fa9bdab9460d3b7d5c70f0bc
100644
--- a/src/arm64/disasm-arm64.cc
+++ b/src/arm64/disasm-arm64.cc
@@ -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,
Index: src/utils.h
diff --git a/src/utils.h b/src/utils.h
index
d9e0e4c33e391ebb9120d95ee1aa2906076546a1..c5012bbc25516652d802ba05f4f3ce390ac5506b
100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -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) {
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.