~ubuntu-branches/ubuntu/trusty/libv8-3.14/trusty

« back to all changes in this revision

Viewing changes to src/builtins.cc

  • Committer: Package Import Robot
  • Author(s): Adam Conrad
  • Date: 2014-02-12 10:26:54 UTC
  • Revision ID: package-import@ubuntu.com-20140212102654-mh2oalg31ifhjs0g
Tags: 3.14.5.8-5ubuntu1
* 0099_powerpc_support.patch: Pull in Andrew Low's powerpc port.
* debian/rules: Enable powerpc/ppc64/ppc64el for package builds.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1617
1617
 
1618
1618
  const BuiltinDesc* functions = builtin_function_table.functions();
1619
1619
 
 
1620
#if V8_TARGET_ARCH_PPC64
 
1621
  const int kBufferSize = 9 * KB;
 
1622
#else
 
1623
  const int kBufferSize = 8 * KB;
 
1624
#endif
1620
1625
  // For now we generate builtin adaptor code into a stack-allocated
1621
1626
  // buffer, before copying it into individual code objects. Be careful
1622
1627
  // with alignment, some platforms don't like unaligned code.
1623
 
  union { int force_alignment; byte buffer[8*KB]; } u;
 
1628
  union { int force_alignment; byte buffer[kBufferSize]; } u;
1624
1629
 
1625
1630
  // Traverse the list of builtins and generate an adaptor in a
1626
1631
  // separate code object for each one.