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

Unified Diff: src/property.cc

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/property.h ('k') | src/regexp/regexp-parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/property.cc
diff --git a/src/property.cc b/src/property.cc
index 93ba43cb92d95a2af433b120f5c55b5dd46bae4c..a4e0d67102cb12c2b1eb00176709d4bc27b2f38a 100644
--- a/src/property.cc
+++ b/src/property.cc
@@ -4,6 +4,7 @@
#include "src/property.h"
+#include "src/field-type.h"
#include "src/handles-inl.h"
#include "src/ostreams.h"
@@ -20,6 +21,11 @@ std::ostream& operator<<(std::ostream& os,
return os;
}
+DataDescriptor::DataDescriptor(Handle<Name> key, int field_index,
+ PropertyAttributes attributes,
+ Representation representation)
+ : Descriptor(key, FieldType::Any(key->GetIsolate()), attributes, DATA,
+ representation, field_index) {}
struct FastPropertyDetails {
explicit FastPropertyDetails(const PropertyDetails& v) : details(v) {}
« no previous file with comments | « src/property.h ('k') | src/regexp/regexp-parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698