Reviewers: jarin,
Description:
Fix MUST_USE_RESULT warning.
[email protected]
Please review this at https://codereview.chromium.org/239173002/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+1, -1 lines):
M src/json-stringifier.h
Index: src/json-stringifier.h
diff --git a/src/json-stringifier.h b/src/json-stringifier.h
index
c02a471971e4d09d65f96c74a2239b79b4fab5cb..a53ba187993151e2dbf3a048913007ec73c66583
100644
--- a/src/json-stringifier.h
+++ b/src/json-stringifier.h
@@ -399,7 +399,7 @@ BasicJsonStringifier::Result
BasicJsonStringifier::StackPush(
for (int i = 0; i < length; i++) {
if (elements->get(i) == *object) {
AllowHeapAllocation allow_to_return_error;
- isolate_->Throw<Object>(factory_->NewTypeError(
+ isolate_->Throw(*factory_->NewTypeError(
"circular_structure", HandleVector<Object>(NULL, 0)));
return EXCEPTION;
}
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.