Closed
Bug 934557
Opened 12 years ago
Closed 12 years ago
Handlify JS::ToBoolean, remove JS_ValueToBoolean
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
mozilla28
People
(Reporter: evilpies, Assigned: evilpies)
References
Details
(Keywords: dev-doc-complete, Whiteboard: [qa-])
Attachments
(1 file)
21.57 KB,
patch
|
terrence
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Attachment #826870 -
Flags: review?(terrence)
Updated•12 years ago
|
Summary: Handlify JS_ValueToBoolean → Handlify JS::ToBoolean, remove JS_ValueToBoolean
Comment 1•12 years ago
|
||
Comment on attachment 826870 [details] [diff] [review]
to-boolean
Review of attachment 826870 [details] [diff] [review]:
-----------------------------------------------------------------
Woot! Very nice! r=me
::: js/src/jit/MIR.h
@@ +969,5 @@
> const js::Value *vp() const {
> return &value_;
> }
> + const bool valueToBoolean() const {
> + // Hack to avoid this everywhere else in the JIT.
That's a bit of a sentence fragment. How about:
// A hack to avoid this wordy pattern everywhere in the JIT.
Attachment #826870 -
Flags: review?(terrence) → review+
Assignee | ||
Comment 2•12 years ago
|
||
Keywords: dev-doc-needed
Assignee | ||
Comment 3•12 years ago
|
||
Updated reference and SpiderMonkey 31, added https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey/JSAPI_reference/JS::ToBoolean.
Keywords: dev-doc-needed → dev-doc-complete
Comment 4•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
Updated•12 years ago
|
Whiteboard: [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•