Revision: 20770
Author: yang...@chromium.org
Date: Tue Apr 15 13:56:51 2014 UTC
Log: Fix MUST_USE_RESULT warning.
R=ja...@chromium.org
Review URL: https://codereview.chromium.org/239173002
http://code.google.com/p/v8/source/detail?r=20770
Modified:
/branches/bleeding_edge/src/json-stringifier.h
=======================================
--- /branches/bleeding_edge/src/json-stringifier.h Tue Apr 15 13:37:15 2014
UTC
+++ /branches/bleeding_edge/src/json-stringifier.h Tue Apr 15 13:56:51 2014
UTC
@@ -399,7 +399,7 @@
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
v8-dev@googlegroups.com
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 v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.