Chromium Code Reviews| Index: src/top.cc |
| diff --git a/src/top.cc b/src/top.cc |
| index f44de7ad68d41c308f27fa9674925d91d08294ad..e078ee948bc84925d549a84cb5da84a2f3bb51d5 100644 |
| --- a/src/top.cc |
| +++ b/src/top.cc |
| @@ -1,4 +1,4 @@ |
| -// Copyright 2006-2008 the V8 project authors. All rights reserved. |
| +// Copyright 2011 the V8 project authors. All rights reserved. |
| // Redistribution and use in source and binary forms, with or without |
| // modification, are permitted provided that the following conditions are |
| // met: |
| @@ -572,6 +572,7 @@ Failure* Isolate::ReThrow(MaybeObject* exception, MessageLocation* location) { |
| // Set the exception being re-thrown. |
| set_pending_exception(exception); |
| + if (exception->IsFailure()) return exception->ToFailureUnchecked(); |
|
Erik Corry
2011/05/19 07:22:32
Does this need to be ported to bleeding edge and b
Lasse Reichstein
2011/05/19 08:40:40
Already ported to bleeding edge (or actually, from
|
| return Failure::Exception(); |
| } |