/* This file is part of solidity. solidity is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. solidity is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with solidity. If not, see . */ /** * Common code generator for translating Julia / inline assembly to EVM and EVM1.5. */ #include #include #include #include #include namespace dev { namespace solidity { class ErrorReporter; namespace assembly { struct AsmAnalysisInfo; } } namespace julia { class EVMAssembly; class CodeTransform: public boost::static_visitor<> { public: /// Create the code transformer. /// @param _identifierAccess used to resolve identifiers external to the inline assembly CodeTransform( julia::AbstractAssembly& _assembly, solidity::assembly::AsmAnalysisInfo& _analysisInfo, bool _evm15 = false, ExternalIdentifierAccess const& _identifierAccess = ExternalIdentifierAccess() ): CodeTransform( _assembly, _analysisInfo, _evm15, _identifierAccess, _assembly.stackHeight(), std::make_shared() ) { } /// Processes the block and appends the resulting code to the assembly. void run(solidity::assembly::Block const& _block); protected: struct Context { using Scope = solidity::assembly::Scope; std::map labelIDs; std::map functionEntryIDs; std::map variableStackHeights; }; CodeTransform( julia::AbstractAssembly& _assembly, solidity::assembly::AsmAnalysisInfo& _analysisInfo, bool _evm15, ExternalIdentifierAccess const& _identifierAccess, int _stackAdjustment, std::shared_ptr _context ): m_assembly(_assembly), m_info(_analysisInfo), m_evm15(_evm15), m_identifierAccess(_identifierAccess), m_stackAdjustment(_stackAdjustment), m_context(_context) {} public: void operator()(solidity::assembly::Instruction const& _instruction); void operator()(solidity::assembly::Literal const& _literal); void operator()(solidity::assembly::Identifier const& _identifier); void operator()(solidity::assembly::FunctionalInstruction const& _instr); void operator()(solidity::assembly::FunctionCall const&); void operator()(solidity::assembly::Label const& _label); void operator()(solidity::assembly::StackAssignment const& _assignment); void operator()(solidity::assembly::Assignment const& _assignment); void operator()(solidity::assembly::VariableDeclaration const& _varDecl); void operator()(solidity::assembly::Switch const& _switch); void operator()(solidity::assembly::FunctionDefinition const&); void operator()(solidity::assembly::ForLoop const&); void operator()(solidity::assembly::Block const& _block); private: AbstractAssembly::LabelID labelFromIdentifier(solidity::assembly::Identifier const& _identifier); /// @returns the label ID corresponding to the given label, allocating a new one if /// necessary. AbstractAssembly::LabelID labelID(solidity::assembly::Scope::Label const& _label); AbstractAssembly::LabelID functionEntryID(solidity::assembly::Scope::Function const& _function); /// Generates code for an expression that is supposed to return a single value. void visitExpression(solidity::assembly::Statement const& _expression); void generateAssignment(solidity::assembly::Identifier const& _variableName); /// Determines the stack height difference to the given variables. Throws /// if it is not yet in scope or the height difference is too large. Returns /// the (positive) stack height difference otherwise. int variableHeightDiff(solidity::assembly::Scope::Variable const& _var, bool _forSwap); void expectDeposit(int _deposit, int _oldHeight); void checkStackHeight(void const* _astElement); julia::AbstractAssembly& m_assembly; solidity::assembly::AsmAnalysisInfo& m_info; solidity::assembly::Scope* m_scope = nullptr; bool m_evm15 = false; ExternalIdentifierAccess m_identifierAccess; /// Adjustment between the stack height as determined during the analysis phase /// and the stack height in the assembly. This is caused by an initial stack being present /// for inline assembly and different stack heights depending on the EVM backend used /// (EVM 1.0 or 1.5). int m_stackAdjustment = 0; std::shared_ptr m_context; }; } } el/electron4/files/eslint-utils-1.4.3'>dependabot/npm_and_yarn/devel/electron4/files/eslint-utils-1.4.3 FreeBSD Ports (https://github.com/freebsd/freebsd-ports)
aboutsummaryrefslogtreecommitdiffstats
path: root/audio
Commit message (Expand)AuthorAgeFilesLines
* Update to 0.90Emanuel Haupt2006-07-203-4/+8
* Use the new IA32_BINARY_PORT macro instead of ONLY_FOR_ARCHSErwin Lansing2006-07-181-1/+2
* Hand maintainership to submitter.Erwin Lansing2006-07-181-1/+1
* This port now builds on 7-CURRENTEmanuel Haupt2006-07-171-7/+1
* Add port audio/audacious-crossfade:Andrew Pantyukhin2006-07-162-0/+14
* - Update to 0.3.11Andrew Pantyukhin2006-07-162-4/+4
* - Update to 0.2DrFeelgoodIon-Mihai Tetcu2006-07-163-5/+22
* - Add NLS knobRong-En Fan2006-07-161-20/+24
* - Update to 0.07Aaron Dalton2006-07-153-32/+20
* Update to 1.61.24Erwin Lansing2006-07-142-4/+4
* Broken with latest gmake.Mark Linimon2006-07-141-0/+2
* - remove WITH_XINE optionMichael Landin2006-07-144-32/+16
* o change default linux package at bsd.linux-rpm.mk for automaticBoris Samorodov2006-07-1324-87/+84
* mpdscribble is a music player daemon client whichRoman Bogorodskiy2006-07-134-0/+31
* This module allows you to search for MP3 files by their ID3 tags.Roman Bogorodskiy2006-07-135-0/+53
* A module to use your computer beeper in fancy ways.Erwin Lansing2006-07-125-0/+46
* - Update to 3.4.0Rong-En Fan2006-07-113-5/+65
* - Update to 2.2.10Rong-En Fan2006-07-114-5/+24
* - Update to version 0.30.3Ion-Mihai Tetcu2006-07-1114-76/+99
* Update to 1.9.7Erwin Lansing2006-07-112-6/+7
* Update to 1.9.7Erwin Lansing2006-07-112-11/+11
* - fix playlist issues with new xmms2Ion-Mihai Tetcu2006-07-112-0/+20
* Remove a new crop of the long-spurious FreeBSD KEYWORDs.Doug Barton2006-07-111-1/+1
* 1. Upgrade linux infrostructure ports from FC3 to FC4.Boris Samorodov2006-07-1018-165/+165
* Give encoding of metadata to/from UTF-8 a fighting chance.Christian Weisgerber2006-07-104-0/+49
* portlintIon-Mihai Tetcu2006-07-091-1/+1
* Use bsd.scons.mk and fix build.Ion-Mihai Tetcu2006-07-091-0/+1
* - Update to 0.6.3Ion-Mihai Tetcu2006-07-092-5/+5
* - Add support for sparc64Michael Johnson2006-07-091-4/+9
* - This version of denemo now builds on sparc64Michael Johnson2006-07-081-5/+1
* Add cpp-xmms2 , c++ Bindings for XMMS2.Ion-Mihai Tetcu2006-07-083-0/+38
* Update to 0.2DrEvilIon-Mihai Tetcu2006-07-082-1/+6
* - Update to 3.5.1Rong-En Fan2006-07-082-10/+15
* - Fix mastersite.Jean Milanez Melo2006-07-082-4/+3
* - Remove ONLY_FOR_ARCHS since it looks like jack is portable nowMichael Johnson2006-07-071-1/+0
* - Now builds on sparc64Michael Johnson2006-07-071-1/+1
* - Update to 0.2.d.5Ion-Mihai Tetcu2006-07-0714-300/+117
* - Transfer maintainer to multimedia@Michael Johnson2006-07-072-2/+13
* Properly link to libiconv. This fixes audio/picard (which does not need aEmanuel Haupt2006-07-072-4/+4
* Update to 0.9.3Ion-Mihai Tetcu2006-07-062-5/+4
* - Remove sparc64 & ppc from supported arch's since this portMichael Johnson2006-07-061-1/+1
* Update to 0.3.8Michael Johnson2006-07-062-4/+4
* - update to 0.11Yen-Ming Lee2006-07-062-5/+4
* - update to 0.11Yen-Ming Lee2006-07-062-5/+4
* - Fix build when CPUTYPE is set and nasm is installedRong-En Fan2006-07-061-1/+1
* Refetchable.Norikatsu Shigemura2006-07-041-1/+2
* Add p5-Audio-TagLib 1.42, library for reading and editing audio metaSergey Skvortsov2006-07-046-0/+197
* Sometimes, --with/without-foo doesn't scale very well.Michael Nottebrock2006-07-041-4/+4
* - fix PLIST_SUB bugMichael Landin2006-07-042-2/+2
* - Update audio/libmusicbrainz to version 2.1.3 and update MASTER_SITES.Cheng-Lung Sung2006-07-048-28/+24
* - Update audio/py-musicbrainz to version 2.1.3 and update MASTER_SITES.Cheng-Lung Sung2006-07-042-22/+3
* portlintIon-Mihai Tetcu2006-07-041-1/+1
* portlintIon-Mihai Tetcu2006-07-041-1/+1
* PortlintIon-Mihai Tetcu2006-07-041-1/+1
* - check to see if OPTIONS are up-to-date before buildMichael Landin2006-07-032-0/+28
* - update to -> 1.4.0aMichael Landin2006-07-0334-200/+926
* - Update to 0.9.0Cheng-Lung Sung2006-07-032-6/+6
* Fix maintainer address.Ion-Mihai Tetcu2006-07-031-1/+1
* - unbreakCheng-Lung Sung2006-07-031-5/+1
* - unbreakCheng-Lung Sung2006-07-031-5/+1
* Mark as BROKEN due to dependency problem on install; should be easy fix.Mark Linimon2006-07-031-0/+4
* Mark BROKEN due to dependency problem in install. Should be an easy fix.Mark Linimon2006-07-031-0/+4
* Fails to compile on ia64. Notified maintainer.Mark Linimon2006-07-021-0/+3
* Replace INSTALL_SHLIB with USE_LDCONFIGEmanuel Haupt2006-06-304-4/+4
* fapg is a tool to generate list of audio files (Wav, MP3, Ogg, etc) in variousIon-Mihai Tetcu2006-06-296-0/+143
* - Bump PORTREVISIONMartin Wilke2006-06-293-4/+6
* Chase dbus-sharp update.Tom McLaughlin2006-06-291-1/+1
* Update to a newer version 1.5.2-0.1.fc4.Boris Samorodov2006-06-276-27/+24
* Euphoria is an audio player which is based on Ecore, Evas and Edje.Ion-Mihai Tetcu2006-06-277-0/+89
* - Fix plist [1]Shaun Amott2006-06-272-1/+20
* - Update to 0.2.4Ion-Mihai Tetcu2006-06-257-59/+62
* Ruby ecore mainloop bindings for XMMS2.Ion-Mihai Tetcu2006-06-253-0/+41
* Add ecore mainloop bindings for ruby for xmms2Ion-Mihai Tetcu2006-06-251-1/+4
* Bump PORTREVISION to install the new MLINKS (from previous commit)Emanuel Haupt2006-06-241-0/+1
* Remove audio/mpck, project was renamed to checkmateEmanuel Haupt2006-06-243-35/+0
* - Connnect checkmateEmanuel Haupt2006-06-241-1/+1
* - Renamed from mpck to checkmate (the project was renamed)Emanuel Haupt2006-06-242-3/+3
* Mark broken on ia64.Mark Linimon2006-06-241-0/+3
* - Clean-up.Alejandro Pulver2006-06-241-40/+21
* Assign to new volunteer due to maintainer-timeouts and no response to email.Mark Linimon2006-06-241-1/+1
* audio/py-shellac -> audio/shellac because it's application not a library.Ion-Mihai Tetcu2006-06-227-130/+1
* audio/ruby-snett -> audio/snett because it's a application, not a library.Ion-Mihai Tetcu2006-06-224-48/+0
* audio/ruby-snett -> audio/snett because it's a application, not a library.Ion-Mihai Tetcu2006-06-221-1/+1
* audio/ruby-snett -> audio/snett because it's a application, not a library.Ion-Mihai Tetcu2006-06-221-2/+1
* portlintIon-Mihai Tetcu2006-06-221-1/+1
* portlintIon-Mihai Tetcu2006-06-221-2/+2
* portlintIon-Mihai Tetcu2006-06-212-3/+3
* portlintIon-Mihai Tetcu2006-06-211-1/+1
* portlintIon-Mihai Tetcu2006-06-211-6/+6
* portlintIon-Mihai Tetcu2006-06-211-1/+1
* portlintIon-Mihai Tetcu2006-06-211-1/+1
* portlintIon-Mihai Tetcu2006-06-211-1/+1
* portlintIon-Mihai Tetcu2006-06-211-1/+1
* Don't quote BROKEN messageMarkus Brueffer2006-06-211-1/+1
* Update to 0.14Emanuel Haupt2006-06-214-8/+8
* Chase lib version bump in fox14.Shaun Amott2006-06-211-1/+2
* Make portlint happy, also make the BROKEN error more clear.Jeremy Messenger2006-06-201-1/+1
* Fix a typo, ACC -> AAC.Jeremy Messenger2006-06-201-1/+1
* - unquote BROKEN.Hajimu UMEMOTO2006-06-191-2/+2
* Unquote BROKENEmanuel Haupt2006-06-191-1/+1
* Update to 0.9.5.Joe Marcus Clarke2006-06-1918-212/+140
* Unquote BROKEN to please portlint(1).Alexey Dokuchaev2006-06-191-1/+1
* Update to version 3.2.1Ion-Mihai Tetcu2006-06-183-10/+11
* Obey conventions and change my mail to @FreeBSD.org addressMartin Wilke2006-06-171-1/+1
* Update to 1.4.8Erwin Lansing2006-06-172-6/+10
* Fix the build with older GCC.Alexey Dokuchaev2006-06-161-4/+17
* Update to 0.9708.Roman Bogorodskiy2006-06-143-5/+6
* Reset andrew@ugh.net.au due to multiple timeouts.Mark Linimon2006-06-142-4/+1
* Chase the libnotify update.Joe Marcus Clarke2006-06-144-2/+24
* Update to 2.1 to fix the unfetchable problemMathieu Arnold2006-06-142-6/+5
* - Update MASTER_SITESAndrew Pantyukhin2006-06-131-11/+5
* Update to 2.5.37Martin Wilke2006-06-122-4/+4
* Update to 3.2Martin Wilke2006-06-123-25/+25
* Install ices0 as ices0 (and thus resolve a long-unnoticed conflict with ices),Michael Nottebrock2006-06-127-14/+106
* Portlint:Jeremy Messenger2006-06-121-1/+1
* Portlint:Jeremy Messenger2006-06-121-0/+1
* Remove the use of USE_GZIP. I cannot find any use of it in bsd.port.mkErwin Lansing2006-06-122-2/+0
* Fix spelling of USE_GCC to fix build on 4.xErwin Lansing2006-06-121-1/+1
* Add mirror site.Norikatsu Shigemura2006-06-111-0/+2
* Don't be verbose when mkdir (forgotted from testing in previous commit).Ion-Mihai Tetcu2006-06-111-1/+1
* Sidplay 2 is the second in the Sidplay series originally developed by MichaelIon-Mihai Tetcu2006-06-115-0/+54
* - Fix plist (create empty dir in pkg-plist).Ion-Mihai Tetcu2006-06-11