Upgrade V8 to version 4.9.385.28
https://chromium.googlesource.com/v8/v8/+/4.9.385.28
FPIIM-449
Change-Id: I4b2e74289d4bf3667f2f3dc8aa2e541f63e26eb4
diff --git a/src/allocation-site-scopes.h b/src/allocation-site-scopes.h
index 836da43..70dd63e 100644
--- a/src/allocation-site-scopes.h
+++ b/src/allocation-site-scopes.h
@@ -5,7 +5,7 @@
#ifndef V8_ALLOCATION_SITE_SCOPES_H_
#define V8_ALLOCATION_SITE_SCOPES_H_
-#include "src/ast.h"
+#include "src/ast/ast.h"
#include "src/handles.h"
#include "src/objects.h"
#include "src/zone.h"
@@ -36,7 +36,7 @@
void InitializeTraversal(Handle<AllocationSite> site) {
top_ = site;
- current_ = Handle<AllocationSite>(*top_, isolate());
+ current_ = Handle<AllocationSite>::New(*top_, isolate());
}
private:
@@ -75,7 +75,6 @@
// Advance current site
Object* nested_site = current()->nested_site();
// Something is wrong if we advance to the end of the list here.
- DCHECK(nested_site->IsAllocationSite());
update_current_site(AllocationSite::cast(nested_site));
}
return Handle<AllocationSite>(*current(), isolate());
@@ -96,6 +95,7 @@
};
-} } // namespace v8::internal
+} // namespace internal
+} // namespace v8
#endif // V8_ALLOCATION_SITE_SCOPES_H_