diff options
Diffstat (limited to 'JavaScriptCore/bytecode/Instruction.h')
-rw-r--r-- | JavaScriptCore/bytecode/Instruction.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/JavaScriptCore/bytecode/Instruction.h b/JavaScriptCore/bytecode/Instruction.h index bcef7fb..ab6659f 100644 --- a/JavaScriptCore/bytecode/Instruction.h +++ b/JavaScriptCore/bytecode/Instruction.h @@ -31,6 +31,7 @@ #include "MacroAssembler.h" #include "Opcode.h" +#include "PropertySlot.h" #include "Structure.h" #include <wtf/VectorTraits.h> @@ -144,6 +145,7 @@ namespace JSC { Instruction(StructureChain* structureChain) { u.structureChain = structureChain; } Instruction(JSCell* jsCell) { u.jsCell = jsCell; } Instruction(PolymorphicAccessStructureList* polymorphicStructures) { u.polymorphicStructures = polymorphicStructures; } + Instruction(PropertySlot::GetValueFunc getterFunc) { u.getterFunc = getterFunc; } union { Opcode opcode; @@ -152,6 +154,7 @@ namespace JSC { StructureChain* structureChain; JSCell* jsCell; PolymorphicAccessStructureList* polymorphicStructures; + PropertySlot::GetValueFunc getterFunc; } u; }; |