• eholk's avatar
    [wasm] Use PC after EnsureSpace in RecordProtectedInstruction · c9e83ebc
    eholk authored
    Previously we captured the PC before calling EnsureSpace in
    RecordProtectedInstruction. Sometimes EnsureSpace would resize and move
    the buffer, which would invalidate the previously captured PC and trip an
    assert when writing RelocInfo. With this change, we do not capture the PC
    until after we've ensured there's enough space, which ensures the PC will
    be valid.
    
    BUG=
    
    Review-Url: https://codereview.chromium.org/2690523003
    Cr-Commit-Position: refs/heads/master@{#43202}
    c9e83ebc
Name
Last commit
Last update
..
assembler-x64-inl.h Loading commit data...
assembler-x64.cc Loading commit data...
assembler-x64.h Loading commit data...
code-stubs-x64.cc Loading commit data...
code-stubs-x64.h Loading commit data...
codegen-x64.cc Loading commit data...
codegen-x64.h Loading commit data...
cpu-x64.cc Loading commit data...
deoptimizer-x64.cc Loading commit data...
disasm-x64.cc Loading commit data...
eh-frame-x64.cc Loading commit data...
frames-x64.cc Loading commit data...
frames-x64.h Loading commit data...
interface-descriptors-x64.cc Loading commit data...
macro-assembler-x64.cc Loading commit data...
macro-assembler-x64.h Loading commit data...
simulator-x64.cc Loading commit data...
simulator-x64.h Loading commit data...
sse-instr.h Loading commit data...