diff options
Diffstat (limited to 'chromium/v8/src/ia32/stub-cache-ia32.cc')
-rw-r--r-- | chromium/v8/src/ia32/stub-cache-ia32.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/chromium/v8/src/ia32/stub-cache-ia32.cc b/chromium/v8/src/ia32/stub-cache-ia32.cc index df7ad4467f9..123506fa623 100644 --- a/chromium/v8/src/ia32/stub-cache-ia32.cc +++ b/chromium/v8/src/ia32/stub-cache-ia32.cc @@ -2479,8 +2479,6 @@ Handle<Code> CallStubCompiler::CompileMathAbsCall( STATIC_ASSERT(kSmiTag == 0); __ JumpIfNotSmi(eax, ¬_smi); - // Branchless abs implementation, refer to below: - // http://graphics.stanford.edu/~seander/bithacks.html#IntegerAbs // Set ebx to 1...1 (== -1) if the argument is negative, or to 0...0 // otherwise. __ mov(ebx, eax); @@ -3155,7 +3153,7 @@ Handle<Code> LoadStubCompiler::CompileLoadGlobal( __ j(equal, &miss); } else if (FLAG_debug_code) { __ cmp(eax, factory()->the_hole_value()); - __ Check(not_equal, kDontDeleteCellsCannotContainTheHole); + __ Check(not_equal, "DontDelete cells can't contain the hole"); } HandlerFrontendFooter(name, &success, &miss); |