| Index: src/full-codegen.cc
|
| diff --git a/src/full-codegen.cc b/src/full-codegen.cc
|
| index f94ba83b65eefd3dc2afc914588d266d741fdb18..c40b97ef8c62bf9ffbd394c7965552e5a898792a 100644
|
| --- a/src/full-codegen.cc
|
| +++ b/src/full-codegen.cc
|
| @@ -1,4 +1,4 @@
|
| -// Copyright 2011 the V8 project authors. All rights reserved.
|
| +// Copyright 2012 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:
|
| @@ -1147,7 +1147,7 @@ void FullCodeGenerator::VisitTryCatchStatement(TryCatchStatement* stmt) {
|
|
|
| // Try block code. Sets up the exception handler chain.
|
| __ bind(&try_entry);
|
| - __ PushTryHandler(IN_JAVASCRIPT, TRY_CATCH_HANDLER, stmt->index());
|
| + __ PushTryHandler(StackHandler::CATCH, stmt->index());
|
| { TryCatch try_body(this);
|
| Visit(stmt->try_block());
|
| }
|
| @@ -1204,7 +1204,7 @@ void FullCodeGenerator::VisitTryFinallyStatement(TryFinallyStatement* stmt) {
|
|
|
| // Set up try handler.
|
| __ bind(&try_entry);
|
| - __ PushTryHandler(IN_JAVASCRIPT, TRY_FINALLY_HANDLER, stmt->index());
|
| + __ PushTryHandler(StackHandler::FINALLY, stmt->index());
|
| { TryFinally try_body(this, &finally_entry);
|
| Visit(stmt->try_block());
|
| }
|
|
|