Navigation Menu

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: m-labs/flickernoise
base: cc9e057^
Choose a base ref
...
head repository: m-labs/flickernoise
compare: d755a0b
Choose a head ref
  • 13 commits
  • 24 files changed
  • 1 contributor

Commits on Jan 5, 2012

  1. compiler: define op_not such that we don't trigger a warning

    lm32-rtems4.11-gcc doesn't like to compare enums "inherited" from other
    enums. We just "manually" code the offset instead.
    wpwrak committed Jan 5, 2012
    Copy the full SHA
    cc9e057 View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2012

  1. compiler: track reduction of "label" use in libfpvm

    First, we use the new node_is_op in parse_free. Second, we no longer
    have a good error message if op_not "leaks" in test/not.
    wpwrak committed Jan 7, 2012
    Copy the full SHA
    36ef9cd View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2012

  1. compiler: don't predefine identifiers for function names

    Since function names are normally not used for variables, we keep them
    separate and only allocate an identifier when needed. This will help
    with a future migration towards a proper symbol table.
    
    This also reduces the size of the table of predefined identifiers,
    slightly accelerating the compiler.
    wpwrak committed Jan 10, 2012
    Copy the full SHA
    eaf4b67 View commit details
    Browse the repository at this point in the history
  2. test: allow leak tests to fail and count the failed tests

    This adds instrumentation to expect() to make test failure non-fatal if
    FAIL_ON_ERROR is set to "false", then uses it in the "leak" target.
    wpwrak committed Jan 10, 2012
    Copy the full SHA
    55805a1 View commit details
    Browse the repository at this point in the history
  3. ptest: new option -s to dump all variables/symbols

    Also added the corresponding infrastructure to unique.c/unique.h
    wpwrak committed Jan 10, 2012
    Copy the full SHA
    484399e View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    8e581f9 View commit details
    Browse the repository at this point in the history
  5. test/nsyms: count the number of user-defined variables/symbols in pat…

    …ch pool
    
    This is less a regression test bit more an indicator for how adaquate
    the structure of the symbol table is.
    wpwrak committed Jan 10, 2012
    Copy the full SHA
    38815b5 View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    565d57d View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    c0f929b View commit details
    Browse the repository at this point in the history
  8. compiler: "struct sym" megapatch

    This changes the compiler to use "struct sym" instead of "const char *"
    to refer to variables when communicating with libfpvm. This also
    implies that the symbol table moves to "struct sym" and that things
    that are not a variable have no identifier associated with them.
    wpwrak committed Jan 10, 2012
    Copy the full SHA
    9783fb2 View commit details
    Browse the repository at this point in the history
  9. compiler: separate file names more clearly from symbols

    The goal is to get rid of "label", which now only serves as a pointer
    into the source (or a copy thereof), for diagnostics.
    wpwrak committed Jan 10, 2012
    Copy the full SHA
    bda6e87 View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2012

  1. compiler: adapt to libfpvm use of "struct fpvm_sym" and introduce "st…

    …ruct sym"
    
    We now have a Flickernoise-local "struct sym" that contains the libfpvm
    symbol.
    wpwrak committed Jan 11, 2012
    Copy the full SHA
    35ec434 View commit details
    Browse the repository at this point in the history
  2. compiler: record index of system variables in symbol table

    This removes the list of variable names from compiler.c and lets
    fnp.ids provide the mapping from name to index.
    wpwrak committed Jan 11, 2012
    Copy the full SHA
    d755a0b View commit details
    Browse the repository at this point in the history