| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_ISOLATE_H_ | 5 #ifndef V8_ISOLATE_H_ |
| 6 #define V8_ISOLATE_H_ | 6 #define V8_ISOLATE_H_ |
| 7 | 7 |
| 8 #include "include/v8-debug.h" | 8 #include "include/v8-debug.h" |
| 9 #include "src/allocation.h" | 9 #include "src/allocation.h" |
| 10 #include "src/assert-scope.h" | 10 #include "src/assert-scope.h" |
| (...skipping 1475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1486 private: | 1486 private: |
| 1487 StackGuard* stack_guard_; | 1487 StackGuard* stack_guard_; |
| 1488 int intercept_mask_; | 1488 int intercept_mask_; |
| 1489 int intercepted_flags_; | 1489 int intercepted_flags_; |
| 1490 PostponeInterruptsScope* prev_; | 1490 PostponeInterruptsScope* prev_; |
| 1491 | 1491 |
| 1492 friend class StackGuard; | 1492 friend class StackGuard; |
| 1493 }; | 1493 }; |
| 1494 | 1494 |
| 1495 | 1495 |
| 1496 class CodeTracer V8_FINAL : public Malloced { | 1496 class CodeTracer FINAL : public Malloced { |
| 1497 public: | 1497 public: |
| 1498 explicit CodeTracer(int isolate_id) | 1498 explicit CodeTracer(int isolate_id) |
| 1499 : file_(NULL), | 1499 : file_(NULL), |
| 1500 scope_depth_(0) { | 1500 scope_depth_(0) { |
| 1501 if (!ShouldRedirect()) { | 1501 if (!ShouldRedirect()) { |
| 1502 file_ = stdout; | 1502 file_ = stdout; |
| 1503 return; | 1503 return; |
| 1504 } | 1504 } |
| 1505 | 1505 |
| 1506 if (FLAG_redirect_code_traces_to == NULL) { | 1506 if (FLAG_redirect_code_traces_to == NULL) { |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1557 } | 1557 } |
| 1558 | 1558 |
| 1559 EmbeddedVector<char, 128> filename_; | 1559 EmbeddedVector<char, 128> filename_; |
| 1560 FILE* file_; | 1560 FILE* file_; |
| 1561 int scope_depth_; | 1561 int scope_depth_; |
| 1562 }; | 1562 }; |
| 1563 | 1563 |
| 1564 } } // namespace v8::internal | 1564 } } // namespace v8::internal |
| 1565 | 1565 |
| 1566 #endif // V8_ISOLATE_H_ | 1566 #endif // V8_ISOLATE_H_ |
| OLD | NEW |