~ubuntu-branches/ubuntu/vivid/qtdeclarative-opensource-src-gles/vivid

« back to all changes in this revision

Viewing changes to src/3rdparty/masm/assembler/LinkBuffer.h

  • Committer: Package Import Robot
  • Author(s): Timo Jyrinki
  • Date: 2015-02-26 09:12:59 UTC
  • Revision ID: package-import@ubuntu.com-20150226091259-krq068zh9bwi20or
Tags: 5.4.0-0ubuntu2
Sync package with qtdeclarative-opensource-src - 5.4.0-4ubuntu2

Show diffs side-by-side

added added

removed removed

Lines of Context:
109
109
    
110
110
    // These methods are used to link or set values at code generation time.
111
111
 
112
 
    void link(Call call, FunctionPtr function)
 
112
    unsigned int link(Call call, FunctionPtr function)
113
113
    {
114
114
        ASSERT(call.isFlagSet(Call::Linkable));
115
115
        call.m_label = applyOffset(call.m_label);
116
116
        MacroAssembler::linkCall(code(), call, function);
 
117
 
 
118
        return call.m_label.m_offset;
117
119
    }
118
120
    
119
121
    void link(Jump jump, CodeLocationLabel label)