summaryrefslogtreecommitdiff
path: root/deps/v8/src/list-inl.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/list-inl.h')
-rw-r--r--deps/v8/src/list-inl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/deps/v8/src/list-inl.h b/deps/v8/src/list-inl.h
index 9a2d11f96a..5ef6d6e340 100644
--- a/deps/v8/src/list-inl.h
+++ b/deps/v8/src/list-inl.h
@@ -9,6 +9,7 @@
#include "src/base/macros.h"
#include "src/base/platform/platform.h"
+#include "src/utils.h"
namespace v8 {
namespace internal {
@@ -34,7 +35,7 @@ template<typename T, class P>
void List<T, P>::AddAll(const Vector<T>& other, P alloc) {
int result_length = length_ + other.length();
if (capacity_ < result_length) Resize(result_length, alloc);
- if (base::is_fundamental<T>()) {
+ if (std::is_fundamental<T>()) {
memcpy(data_ + length_, other.start(), sizeof(*data_) * other.length());
} else {
for (int i = 0; i < other.length(); i++) data_[length_ + i] = other.at(i);