Skip to content

Improve the dumping of literals #959

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

akosthekiss
Copy link
Member

  • Guard lit_dump_literals with JERRY_ENABLE_LOG (both in source
    and in header).
  • Change printfs to JERRY_DLOG.
  • Make lit_dump_literals be called in lit_finalize (it was dead
    code).
  • Remove its duplicate declaration from lit-literal.h

JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu

@akosthekiss akosthekiss added the enhancement An improvement label Mar 10, 2016
@zherczeg
Copy link
Member

LGTM

* Guard `lit_dump_literals` with `JERRY_ENABLE_LOG` (both in source
  and in header).
* Change `printf`s to `JERRY_DLOG`.
* Make `lit_dump_literals` be called in `lit_finalize` (it was dead
  code).
* Remove its duplicate declaration from lit-literal.h

JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
@LaszloLango
Copy link
Contributor

LGTM

@akosthekiss akosthekiss merged commit a9c77b4 into jerryscript-project:master Mar 11, 2016
@akosthekiss akosthekiss deleted the lit-dump-improve branch March 11, 2016 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants