1. 22 Dec, 2015 1 commit
    • bmeurer's avatar
      [runtime] Rewrite Function.prototype.toString in C++. · 4acca53e
      bmeurer authored
      There's actually no point trying to do Function.prototype.toString in
      JavaScript, as it always calls into C++ at least once, so it only
      complicates things (esp. once we start optimizing bound functions).
      
      Drive-by-fix: Rename FunctionApply and FunctionCall builtins to also
      reflect the fact that these are builtins in the Function.prototype and
      not on Function itself.
      
      TBR=hpayer@chromium.org
      R=yangguo@chromium.org
      BUG=chromium:535408
      LOG=n
      
      Review URL: https://codereview.chromium.org/1540953004
      
      Cr-Commit-Position: refs/heads/master@{#32996}
      4acca53e
  2. 17 Dec, 2015 1 commit
  3. 04 Dec, 2015 1 commit
  4. 19 Nov, 2015 1 commit
    • kozyatinskiy's avatar
      [V8] Unify get function name for debugging purpose · 89e859fb
      kozyatinskiy authored
      Following logic is using for getting function name in JSFunction::GetDebugName:
      1. if function has displayName and its type is string then use it
      2. if function has defined property Function.name as value and its type string then use it
      3. otherwise use SharedFunctionInfo::DebugName as functionName.
      
      JSFunction::GetDebugName is exposed in V8 API and in FunctionMirror interface.
      
      BUG=chromium:17356
      R=yangguo@chromium.org,mstarzinger@chromium.org
      LOG=Y
      
      Review URL: https://codereview.chromium.org/1449473005
      
      Cr-Commit-Position: refs/heads/master@{#32124}
      89e859fb
  5. 05 Nov, 2015 1 commit
  6. 22 Oct, 2015 1 commit
  7. 15 Oct, 2015 1 commit
  8. 08 Oct, 2015 1 commit
  9. 01 Oct, 2015 1 commit
    • bmeurer's avatar
      [es6] Fix missing bits for full @@toPrimitive support. · 2a0759d3
      bmeurer authored
      Introduce %_ToNumber intrinsic, which just calls to the existing
      ToNumberStub, and remove all uses of our custom JavaScript plus
      intrinsics based ToNumber and friends.
      
      Also replace the TO_NUMBER_INLINE macro with TO_NUMBER,
      which is currently a wrapper for %_ToNumber. Newly written JS
      code should use TO_NUMBER (similar to TO_STRING, TO_INT32,
      and friends).
      
      Also finally remove the DefaultString/DefaultNumber builtins, which
      are basically the ES5 version of ToPrimitive. Now all code uses the
      ES6 version, which is implemented in Object::ToPrimitive and
      JSReceiver::ToPrimitive in C++.
      
      CQ_INCLUDE_TRYBOTS=tryserver.v8:v8_linux_layout_dbg,v8_linux_nosnap_dbg
      R=jarin@chromium.org
      BUG=v8:4307
      LOG=n
      
      Review URL: https://codereview.chromium.org/1384443002
      
      Cr-Commit-Position: refs/heads/master@{#31054}
      2a0759d3
  10. 30 Sep, 2015 1 commit
  11. 28 Sep, 2015 1 commit
  12. 28 Aug, 2015 2 commits
  13. 21 Aug, 2015 1 commit
    • yangguo's avatar
      Unify symbols sharing across native scripts and runtime. · eaba98d9
      yangguo authored
      We currently have several ways to share symbols that are used in
      both native scripts and the runtime. This change unifies this.
      We do not use the symbols registry since we don't need the
      registry any longer after bootstrapping, but the registry stays
      alive afterwards.
      
      R=mlippautz@chromium.org, rossberg@chromium.org
      
      Review URL: https://codereview.chromium.org/1293493004
      
      Cr-Commit-Position: refs/heads/master@{#30280}
      eaba98d9
  14. 19 Aug, 2015 1 commit
    • yangguo's avatar
      Native context: debug.js does not load from js builtins object anymore. · eb8c0928
      yangguo authored
      This mainly changes how we share ToBoolean, ToNumber and ToString between
      native scripts. Instead of putting them on the js builtins object, we now
      explicitly export and import those functions.
      
      I also had to change the import/export mechanism slightly. Previously,
      exports and imports are hooked up after all native scripts have been
      executed. This means that imported functions cannot be called at the time
      the native script is executed.
      
      However, since ToBoolean (and also e.g. ObjectDefineProperties) is called
      in v8natives.js, I changed the mechanism so that exports from previous
      native scripts (runtime.js for ToBoolean) is imported immediately and can
      be called.
      
      R=cbruni@chromium.org
      
      Review URL: https://codereview.chromium.org/1302533002
      
      Cr-Commit-Position: refs/heads/master@{#30244}
      eb8c0928
  15. 13 Aug, 2015 2 commits
  16. 12 Aug, 2015 1 commit
  17. 31 Jul, 2015 1 commit
  18. 12 May, 2015 3 commits
  19. 07 May, 2015 1 commit
  20. 06 May, 2015 2 commits
  21. 05 May, 2015 1 commit
  22. 04 May, 2015 2 commits
  23. 30 Apr, 2015 2 commits
  24. 27 Apr, 2015 1 commit
  25. 21 Apr, 2015 1 commit
  26. 16 Apr, 2015 1 commit
  27. 13 Mar, 2015 1 commit
  28. 19 Jan, 2015 1 commit
    • ishell's avatar
      Massive renaming of PropertyType values and other implied stuff. · 33994b4a
      ishell authored
      PropertyKind:
        DATA -> kData
        ACCESSOR -> kAccessor
      
      PropertyType:
        FIELD -> DATA
        CONSTANT -> DATA_CONSTANT
        ACCESSOR_FIELD -> ACCESSOR
        CALLBACKS -> ACCESSOR_CONSTANT
      
      PropertyLocation:
        IN_OBJECT -> kField
        IN_DESCRIPTOR -> kDescriptor
      
      StoreMode:
        FORCE_IN_OBJECT -> FORCE_FIELD
      
      FieldDescriptor -> DataDescriptor
      ConstantDescriptor -> DataConstantDescriptor
      CallbacksDescriptor -> AccessorConstantDescriptor
      
      Review URL: https://codereview.chromium.org/856503002
      
      Cr-Commit-Position: refs/heads/master@{#26146}
      33994b4a
  29. 12 Jan, 2015 1 commit
  30. 09 Jan, 2015 1 commit
  31. 12 Dec, 2014 1 commit
  32. 28 Nov, 2014 1 commit
  33. 19 Nov, 2014 1 commit