Chromium Code Reviews| Index: src/ia32/assembler-ia32.h |
| diff --git a/src/ia32/assembler-ia32.h b/src/ia32/assembler-ia32.h |
| index b913f7afc8e2af773ea019e5ab81ac22b0ca4e14..e29d6e30ec3277d9cf63fce3dd0928f4691a4757 100644 |
| --- a/src/ia32/assembler-ia32.h |
| +++ b/src/ia32/assembler-ia32.h |
| @@ -1260,6 +1260,11 @@ class Assembler : public AssemblerBase { |
| // write a comment. |
| void RecordComment(const char* msg, bool force = false); |
| + // Record a deoptimization reason that can be used by a log or cpu profiler. |
| + // Use --trace-deopt to enable, or provide "force = true" flag to always |
|
Michael Starzinger
2015/02/04 11:30:51
nit: There doesn't seem to be a "force" flag, let'
loislo
2015/02/04 14:38:50
done
|
| + // write it. |
| + void RecordDeoptReason(const int reason, const int raw_position); |
| + |
| // Writes a single byte or word of data in the code stream. Used for |
| // inline tables, e.g., jump-tables. |
| void db(uint8_t data); |