Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(952)

Unified Diff: src/property.h

Issue 1696333002: Don't include field-type.h into objects-inl.h (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/objects-inl.h ('k') | src/property.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/property.h
diff --git a/src/property.h b/src/property.h
index 1256d5930cf790b2e103bfb352a4cb786f052fcf..c8da9aa60723c67ca9c37bad55f02893d98495c1 100644
--- a/src/property.h
+++ b/src/property.h
@@ -8,8 +8,6 @@
#include <iosfwd>
#include "src/factory.h"
-#include "src/field-index.h"
-#include "src/field-type.h"
#include "src/isolate.h"
namespace v8 {
@@ -75,9 +73,7 @@ std::ostream& operator<<(std::ostream& os, const Descriptor& d);
class DataDescriptor final : public Descriptor {
public:
DataDescriptor(Handle<Name> key, int field_index,
- PropertyAttributes attributes, Representation representation)
- : Descriptor(key, FieldType::Any(key->GetIsolate()), attributes, DATA,
- representation, field_index) {}
+ PropertyAttributes attributes, Representation representation);
// The field type is either a simple type or a map wrapped in a weak cell.
DataDescriptor(Handle<Name> key, int field_index,
Handle<Object> wrapped_field_type,
« no previous file with comments | « src/objects-inl.h ('k') | src/property.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698