From bec30051c57098bef482c9be2537bda46b7571ee Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Thu, 20 Apr 2017 21:36:53 +0100 Subject: Introduce CREATE2 in the assembler --- libevmasm/SemanticInformation.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libevmasm/SemanticInformation.cpp') diff --git a/libevmasm/SemanticInformation.cpp b/libevmasm/SemanticInformation.cpp index 86feb1d2..db4ee867 100644 --- a/libevmasm/SemanticInformation.cpp +++ b/libevmasm/SemanticInformation.cpp @@ -138,6 +138,7 @@ bool SemanticInformation::isDeterministic(AssemblyItem const& _item) case Instruction::CALLCODE: case Instruction::DELEGATECALL: case Instruction::CREATE: + case Instruction::CREATE2: case Instruction::GAS: case Instruction::PC: case Instruction::MSIZE: // depends on previous writes and reads, not only on content @@ -178,6 +179,7 @@ bool SemanticInformation::invalidatesStorage(Instruction _instruction) case Instruction::CALLCODE: case Instruction::DELEGATECALL: case Instruction::CREATE: + case Instruction::CREATE2: case Instruction::SSTORE: return true; default: -- cgit