Skip to content

Commit

Permalink
Update for Pharo 7
Browse files Browse the repository at this point in the history
  • Loading branch information
guillep committed Nov 20, 2018
1 parent e4a7530 commit 8ddb809
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
'srcDirectory' : ''
}
2 changes: 1 addition & 1 deletion Hermes-Exporter/HEMethod.extension.st
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ HEMethod >> fillLiteralsAndBytecode: aMethod [
bytecode := ByteArray new: aMethod size - literalSpace.
1 to: bytecode size do: [ :i | bytecode at: i put: (aMethod at: i + literalSpace) ].

literals := aMethod literals allButLast collect: [ :e | e asExportedLiteral ].
literals := aMethod allLiterals allButLast collect: [ :e | e asExportedLiteral ].
"The last literal is the binding of the method with the holding class, it is easy to reconstruct"
literals := literals copyWith: nil asExportedLiteral.
]
Expand Down

0 comments on commit 8ddb809

Please sign in to comment.