mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-22 10:01:50 +00:00
Pass const primitive values by value rather than reference (#115)
Signed-off-by: Daniella Barsony bella@inf.u-szeged.hu
This commit is contained in:
parent
d5eba8f75b
commit
4afdf61b2b
21 changed files with 131 additions and 131 deletions
|
|
@ -53,7 +53,7 @@ static Object* implicitClassConstructorCtor(ExecutionState& state, CodeBlock* co
|
|||
|
||||
#define ADD_PROGRAM_COUNTER(CodeType) programCounter += sizeof(CodeType);
|
||||
|
||||
ALWAYS_INLINE size_t jumpTo(char* codeBuffer, const size_t& jumpPosition)
|
||||
ALWAYS_INLINE size_t jumpTo(char* codeBuffer, const size_t jumpPosition)
|
||||
{
|
||||
return (size_t)&codeBuffer[jumpPosition];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue