aboutsummaryrefslogtreecommitdiffstats
path: root/CompilerUtils.h
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2015-02-26 03:27:55 +0800
committerChristian <c@ethdev.com>2015-02-28 05:52:19 +0800
commit87365f7612336c4c7f443aac568f8a515bc9bd35 (patch)
treee304628c5c65d0fb33082d1c8f9e49776fb0a70c /CompilerUtils.h
parenta5b4f18dd7291e403237061d5f9660db0299601d (diff)
downloaddexon-solidity-87365f7612336c4c7f443aac568f8a515bc9bd35.tar.gz
dexon-solidity-87365f7612336c4c7f443aac568f8a515bc9bd35.tar.zst
dexon-solidity-87365f7612336c4c7f443aac568f8a515bc9bd35.zip
Shortening of dynamic arrays.
Diffstat (limited to 'CompilerUtils.h')
-rw-r--r--CompilerUtils.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/CompilerUtils.h b/CompilerUtils.h
index 2fb97d80..2df85f11 100644
--- a/CompilerUtils.h
+++ b/CompilerUtils.h
@@ -79,15 +79,6 @@ public:
/// @note Only works for types of fixed size.
void computeHashStatic(Type const& _type = IntegerType(256), bool _padToWordBoundaries = false);
- /// Copies a byte array to a byte array in storage.
- /// Stack pre: [source_reference] target_reference
- /// Stack post: target_reference
- void copyByteArrayToStorage(ArrayType const& _targetType, ArrayType const& _sourceType) const;
- /// Clears the length and data elements of the byte array referenced on the stack.
- /// Stack pre: reference
- /// Stack post:
- void clearByteArray(ArrayType const& _type) const;
-
/// Bytes we need to the start of call data.
/// - The size in bytes of the function (hash) identifier.
static const unsigned int dataStartOffset;
@@ -97,10 +88,6 @@ private:
unsigned prepareMemoryStore(Type const& _type, bool _padToWordBoundaries) const;
/// Loads type from memory assuming memory offset is on stack top.
unsigned loadFromMemoryHelper(Type const& _type, bool _fromCalldata, bool _padToWordBoundaries);
- /// Appends a loop that clears a sequence of storage slots (excluding end).
- /// Stack pre: end_ref start_ref
- /// Stack post: end_ref
- void clearStorageLoop() const;
CompilerContext& m_context;
};