1. 18 Sep, 2015 3 commits
    • bmeurer's avatar
      [runtime] Replace COMPARE/COMPARE_STRONG with proper Object::Compare. · 593c655a
      bmeurer authored
      This removes the weird COMPARE and COMPARE_STRONG JavaScript builtins
      and replaces them with a proper C++ implementation in Object::Compare
      and appropriate wrappers Object::LessThan, Object::GreaterThan, and
      friends that are intended to be used by a true/false returning CompareIC
      in the future, as well as the interpreter.  As a short-term solution we
      provide %Compare and %Compare_Strong entry points for the current
      CompareIC that return the appropriate integer values expected by
      fullcodegen currently.
      
      Now the Abstract Relational Comparison is also using the correct
      ToPrimitive implementation, which properly supports @@toPrimitive.
      
      BUG=v8:4307
      LOG=n
      
      Review URL: https://codereview.chromium.org/1350113002
      
      Cr-Commit-Position: refs/heads/master@{#30816}
      593c655a
    • v8-autoroll's avatar
      Update V8 DEPS. · dc39f308
      v8-autoroll authored
      Rolling v8/tools/clang to 0e7dbd100f91096de47919f394ac0b32dd7c21a2
      
      TBR=machenbach@chromium.org,vogelheim@chromium.org,hablich@chromium.org
      
      Review URL: https://codereview.chromium.org/1355633003
      
      Cr-Commit-Position: refs/heads/master@{#30815}
      dc39f308
    • aperez's avatar
      Use a kMaxSafeInteger instead of Number.MAX_SAFE_INTEGER · 3ece714d
      aperez authored
      Defines and uses a kMaxSafeInteger macro (which expands to the constant
      2^53-1) instead of accessing Number.MAX_SAFE_INTEGER. This saves loading
      the attribute from the Number object, which is slightly faster. This also
      makes it clearer from reading the code that tha value being compared is
      constant.
      
      BUG=
      LOG=N
      
      Review URL: https://codereview.chromium.org/1353953002
      
      Cr-Commit-Position: refs/heads/master@{#30814}
      3ece714d
  2. 17 Sep, 2015 37 commits