| Index: src/top.cc
|
| ===================================================================
|
| --- src/top.cc (revision 1168)
|
| +++ src/top.cc (working copy)
|
| @@ -37,7 +37,7 @@
|
| namespace v8 { namespace internal {
|
|
|
| ThreadLocalTop Top::thread_local_;
|
| -Mutex* Top::break_access_;
|
| +Mutex* Top::break_access_ = OS::CreateMutex();
|
| StackFrame::Id Top::break_frame_id_;
|
| int Top::break_count_;
|
| int Top::break_id_;
|
| @@ -225,7 +225,6 @@
|
|
|
| InitializeThreadLocal();
|
|
|
| - break_access_ = OS::CreateMutex();
|
| break_frame_id_ = StackFrame::NO_ID;
|
| break_count_ = 0;
|
| break_id_ = 0;
|
| @@ -644,7 +643,7 @@
|
|
|
|
|
| Failure* Top::ReThrow(Object* exception, MessageLocation* location) {
|
| - // Set the exception beeing re-thrown.
|
| + // Set the exception being re-thrown.
|
| set_pending_exception(exception);
|
| return Failure::Exception();
|
| }
|
| @@ -705,7 +704,7 @@
|
| Handle<Object> is_top_level = it.done()
|
| ? Factory::true_value()
|
| : Factory::false_value();
|
| - // Generate and print strack trace line.
|
| + // Generate and print stack trace line.
|
| Handle<String> line =
|
| Execution::GetStackTraceLine(recv, fun, pos_obj, is_top_level);
|
| if (line->length() > 0) {
|
|
|