OLD | NEW |
1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 2009 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 1173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1184 | 1184 |
1185 | 1185 |
1186 // --- E x c e p t i o n s --- | 1186 // --- E x c e p t i o n s --- |
1187 | 1187 |
1188 | 1188 |
1189 v8::TryCatch::TryCatch() | 1189 v8::TryCatch::TryCatch() |
1190 : next_(i::Top::try_catch_handler()), | 1190 : next_(i::Top::try_catch_handler()), |
1191 exception_(i::Heap::the_hole_value()), | 1191 exception_(i::Heap::the_hole_value()), |
1192 message_(i::Smi::FromInt(0)), | 1192 message_(i::Smi::FromInt(0)), |
1193 is_verbose_(false), | 1193 is_verbose_(false), |
| 1194 can_continue_(true), |
1194 capture_message_(true), | 1195 capture_message_(true), |
1195 js_handler_(NULL) { | 1196 js_handler_(NULL) { |
1196 i::Top::RegisterTryCatchHandler(this); | 1197 i::Top::RegisterTryCatchHandler(this); |
1197 } | 1198 } |
1198 | 1199 |
1199 | 1200 |
1200 v8::TryCatch::~TryCatch() { | 1201 v8::TryCatch::~TryCatch() { |
1201 i::Top::UnregisterTryCatchHandler(this); | 1202 i::Top::UnregisterTryCatchHandler(this); |
1202 } | 1203 } |
1203 | 1204 |
(...skipping 2527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3731 | 3732 |
3732 | 3733 |
3733 char* HandleScopeImplementer::Iterate(ObjectVisitor* v, char* storage) { | 3734 char* HandleScopeImplementer::Iterate(ObjectVisitor* v, char* storage) { |
3734 HandleScopeImplementer* thread_local = | 3735 HandleScopeImplementer* thread_local = |
3735 reinterpret_cast<HandleScopeImplementer*>(storage); | 3736 reinterpret_cast<HandleScopeImplementer*>(storage); |
3736 thread_local->IterateThis(v); | 3737 thread_local->IterateThis(v); |
3737 return storage + ArchiveSpacePerThread(); | 3738 return storage + ArchiveSpacePerThread(); |
3738 } | 3739 } |
3739 | 3740 |
3740 } } // namespace v8::internal | 3741 } } // namespace v8::internal |
OLD | NEW |