OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #include "platform/address_sanitizer.h" | 5 #include "platform/address_sanitizer.h" |
6 #include "platform/memory_sanitizer.h" | 6 #include "platform/memory_sanitizer.h" |
7 #include "platform/utils.h" | 7 #include "platform/utils.h" |
8 | 8 |
9 #include "vm/allocation.h" | 9 #include "vm/allocation.h" |
10 #include "vm/atomic.h" | 10 #include "vm/atomic.h" |
(...skipping 971 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
982 } | 982 } |
983 | 983 |
984 if (!InitialRegisterCheck(pc, fp, sp)) { | 984 if (!InitialRegisterCheck(pc, fp, sp)) { |
985 return; | 985 return; |
986 } | 986 } |
987 | 987 |
988 if (!CheckIsolate(isolate)) { | 988 if (!CheckIsolate(isolate)) { |
989 return; | 989 return; |
990 } | 990 } |
991 | 991 |
| 992 if (thread->IsMutatorThread() && isolate->IsDeoptimizing()) { |
| 993 return; |
| 994 } |
| 995 |
992 uword stack_lower = 0; | 996 uword stack_lower = 0; |
993 uword stack_upper = 0; | 997 uword stack_upper = 0; |
994 if (!GetAndValidateIsolateStackBounds(thread, | 998 if (!GetAndValidateIsolateStackBounds(thread, |
995 fp, | 999 fp, |
996 sp, | 1000 sp, |
997 &stack_lower, | 1001 &stack_lower, |
998 &stack_upper)) { | 1002 &stack_upper)) { |
999 // Could not get stack boundary. | 1003 // Could not get stack boundary. |
1000 return; | 1004 return; |
1001 } | 1005 } |
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1380 | 1384 |
1381 | 1385 |
1382 ProcessedSampleBuffer::ProcessedSampleBuffer() | 1386 ProcessedSampleBuffer::ProcessedSampleBuffer() |
1383 : code_lookup_table_(new CodeLookupTable(Thread::Current())) { | 1387 : code_lookup_table_(new CodeLookupTable(Thread::Current())) { |
1384 ASSERT(code_lookup_table_ != NULL); | 1388 ASSERT(code_lookup_table_ != NULL); |
1385 } | 1389 } |
1386 | 1390 |
1387 #endif // !PRODUCT | 1391 #endif // !PRODUCT |
1388 | 1392 |
1389 } // namespace dart | 1393 } // namespace dart |
OLD | NEW |