mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #1706 from ethereum/fixasmlocation
Print source location before items.
This commit is contained in:
commit
bec3c6fab6
@ -12,6 +12,7 @@ Bugfixes:
|
|||||||
* Type system: Fix a crash caused by continuing on fatal errors in the code.
|
* Type system: Fix a crash caused by continuing on fatal errors in the code.
|
||||||
* Type system: Disallow arrays with negative length.
|
* Type system: Disallow arrays with negative length.
|
||||||
* Inline assembly: Charge one stack slot for non-value types during analysis.
|
* Inline assembly: Charge one stack slot for non-value types during analysis.
|
||||||
|
* Assembly output: Print source location before the operation it refers to instead of after.
|
||||||
|
|
||||||
### 0.4.9 (2017-01-31)
|
### 0.4.9 (2017-01-31)
|
||||||
|
|
||||||
|
@ -130,8 +130,8 @@ public:
|
|||||||
if (!_item.location().isEmpty() && _item.location() != m_location)
|
if (!_item.location().isEmpty() && _item.location() != m_location)
|
||||||
{
|
{
|
||||||
flush();
|
flush();
|
||||||
printLocation();
|
|
||||||
m_location = _item.location();
|
m_location = _item.location();
|
||||||
|
printLocation();
|
||||||
}
|
}
|
||||||
if (!(
|
if (!(
|
||||||
_item.canBeFunctional() &&
|
_item.canBeFunctional() &&
|
||||||
|
Loading…
Reference in New Issue
Block a user