aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/codegen/CompilerUtils.h
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2016-10-20 00:43:31 +0800
committerchriseth <c@ethdev.com>2016-11-16 21:37:18 +0800
commitff3553a34895c70c473a27c29464ebfc15375416 (patch)
tree458da0ce9c880e7bd6a996feea621d4e22bbd980 /libsolidity/codegen/CompilerUtils.h
parent679ea2820fd6bb76ddd294101ef548bab6cd6425 (diff)
downloaddexon-solidity-ff3553a34895c70c473a27c29464ebfc15375416.tar
dexon-solidity-ff3553a34895c70c473a27c29464ebfc15375416.tar.gz
dexon-solidity-ff3553a34895c70c473a27c29464ebfc15375416.tar.bz2
dexon-solidity-ff3553a34895c70c473a27c29464ebfc15375416.tar.lz
dexon-solidity-ff3553a34895c70c473a27c29464ebfc15375416.tar.xz
dexon-solidity-ff3553a34895c70c473a27c29464ebfc15375416.tar.zst
dexon-solidity-ff3553a34895c70c473a27c29464ebfc15375416.zip
Change alignment.
Diffstat (limited to 'libsolidity/codegen/CompilerUtils.h')
-rw-r--r--libsolidity/codegen/CompilerUtils.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/libsolidity/codegen/CompilerUtils.h b/libsolidity/codegen/CompilerUtils.h
index 0c9adf29..690452f9 100644
--- a/libsolidity/codegen/CompilerUtils.h
+++ b/libsolidity/codegen/CompilerUtils.h
@@ -114,12 +114,12 @@ public:
/// Stack post:
void memoryCopy();
- /// Converts the combined and right-aligned external function type
- /// <function identifier><address> into two stack slots:
+ /// Converts the combined and left-aligned (right-aligned if @a _rightAligned is true)
+ /// external function type <function identifier><address> into two stack slots:
/// address (right aligned), function identifier (right aligned)
- void splitExternalFunctionType();
- /// Performs the opposite operation of splitExternalFunctionType()
- void combineExternalFunctionType();
+ void splitExternalFunctionType(bool _rightAligned);
+ /// Performs the opposite operation of splitExternalFunctionType(_rightAligned)
+ void combineExternalFunctionType(bool _rightAligned);
/// Appends code for an implicit or explicit type conversion. This includes erasing higher
/// order bits (@see appendHighBitCleanup) when widening integer but also copy to memory