Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
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: nodejs/node-v0.x-archive
base: b9150344ac35
Choose a base ref
...
head repository: nodejs/node-v0.x-archive
compare: cec81593d7e4
Choose a head ref
  • 2 commits
  • 5 files changed
  • 1 contributor

Commits on Aug 7, 2013

  1. smalloc: cleanup checks/conversions

    * Moved the ToObject check out of smalloc::Alloc and into JS. Direct
      usage of that method is for internal use only and so can bypass the
      possible coercion.
    * Same has been done with smalloc::SliceOnto.
    * smalloc::CopyOnto will now throw if passed argument is not an object.
    * Remove extra TargetFreeCallback function. There was a use for it when
      it was working with a Local<T>, but that code has been removed making
      the function superfluous.
    trevnorris committed Aug 7, 2013
    Copy the full SHA
    cd00064 View commit details
    Browse the repository at this point in the history
  2. smalloc: allow different external array types

    smalloc.alloc now accepts an optional third argument which allows
    specifying the type of array that should be allocated. All available
    types are now located on smalloc.Types.
    trevnorris committed Aug 7, 2013
    Copy the full SHA
    cec8159 View commit details
    Browse the repository at this point in the history