Permalink
Browse files

Update RecordType struct layout

  • Loading branch information...
1 parent 94756a6 commit 273e8d3f16485219ca50e60d62038cc4dbee6b60 agemogolk committed Nov 19, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 compiler/clay.hpp
View
@@ -2835,13 +2835,13 @@ struct RecordType : public Type {
vector<IdentifierPtr> fieldNames;
vector<TypePtr> fieldTypes;
- unsigned varFieldPosition;
- bool hasVarField:1;
-
+
llvm::StringMap<size_t> fieldIndexMap;
const llvm::StructLayout *layout;
+ unsigned varFieldPosition;
+ bool hasVarField:1;
bool fieldsInitialized:1;
RecordType(RecordDeclPtr record)

0 comments on commit 273e8d3

Please sign in to comment.