| commit | 9f42d8ca95d6ed94b6334e652181f82d2edcaa05 | [log] [tgz] |
|---|---|---|
| author | Jim Stichnoth <stichnot@chromium.org> | Fri Feb 20 09:20:14 2015 -0800 |
| committer | Jim Stichnoth <stichnot@chromium.org> | Fri Feb 20 09:20:14 2015 -0800 |
| tree | 02890ea3a1a290da4f41f44b115b327381192525 | |
| parent | a2703ae428a7c72b7716258b8ee157064d03c5cb [diff] [blame] |
Subzero: Add sandboxing for x86-32. BUG= https://code.google.com/p/nativeclient/issues/detail?id=4079 R=jvoung@chromium.org, kschimpf@google.com Review URL: https://codereview.chromium.org/930733002
diff --git a/src/assembler.cpp b/src/assembler.cpp index b0ff419..d131426 100644 --- a/src/assembler.cpp +++ b/src/assembler.cpp
@@ -40,7 +40,8 @@ F->set_position(0); F->set_kind(Kind); F->set_value(Value); - fixups_.push_back(F); + if (!assembler_.getPreliminary()) + fixups_.push_back(F); return F; }