Last Comment Bug 694256 - Build error: JS_FloorLog2 is missing
: Build error: JS_FloorLog2 is missing
Product: Core
Classification: Components
Component: JavaScript Engine (show other bugs)
: unspecified
: x86 Solaris
-- normal (vote)
: mozilla10
Assigned To: general
: Jason Orendorff [:jorendorff]
Depends on:
  Show dependency treegraph
Reported: 2011-10-12 23:58 PDT by Leon Sha
Modified: 2011-10-14 08:08 PDT (History)
1 user (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

patch (1.60 KB, patch)
2011-10-13 00:00 PDT, Leon Sha
luke: review+
Details | Diff | Splinter Review

Description User image Leon Sha 2011-10-12 23:58:17 PDT
Function JS_FloorLog2 was removed, but it is still used.
"./dist/include/js/Utility.h", line 890: Error: The function "JS_FloorLog2" must have a prototype.
Comment 1 User image Leon Sha 2011-10-13 00:00:47 PDT
Created attachment 566752 [details] [diff] [review]

Do the same thing as !defined(JS_HAS_BUILTIN_BITSCAN64)  && JS_BYTES_PER_WORD == 8.
Comment 2 User image Luke Wagner [:luke] 2011-10-13 09:09:20 PDT
Comment on attachment 566752 [details] [diff] [review]

Sorry about that

Note You need to log in before you can comment on or make changes to this bug.