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 #include <stdlib.h> | 5 #include <stdlib.h> |
6 | 6 |
7 #include "src/v8.h" | 7 #include "src/v8.h" |
8 | 8 |
9 #include "src/ast.h" | 9 #include "src/ast.h" |
10 #include "src/base/platform/platform.h" | 10 #include "src/base/platform/platform.h" |
(...skipping 1627 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1638 | 1638 |
1639 // Has to be called while counters_ are still alive | 1639 // Has to be called while counters_ are still alive |
1640 runtime_zone_.DeleteKeptSegment(); | 1640 runtime_zone_.DeleteKeptSegment(); |
1641 | 1641 |
1642 // The entry stack must be empty when we get here. | 1642 // The entry stack must be empty when we get here. |
1643 DCHECK(entry_stack_ == NULL || entry_stack_->previous_item == NULL); | 1643 DCHECK(entry_stack_ == NULL || entry_stack_->previous_item == NULL); |
1644 | 1644 |
1645 delete entry_stack_; | 1645 delete entry_stack_; |
1646 entry_stack_ = NULL; | 1646 entry_stack_ = NULL; |
1647 | 1647 |
1648 delete[] assembler_spare_buffer_; | |
1649 assembler_spare_buffer_ = NULL; | |
1650 | |
1651 delete unicode_cache_; | 1648 delete unicode_cache_; |
1652 unicode_cache_ = NULL; | 1649 unicode_cache_ = NULL; |
1653 | 1650 |
1654 delete date_cache_; | 1651 delete date_cache_; |
1655 date_cache_ = NULL; | 1652 date_cache_ = NULL; |
1656 | 1653 |
1657 delete[] code_stub_interface_descriptors_; | 1654 delete[] code_stub_interface_descriptors_; |
1658 code_stub_interface_descriptors_ = NULL; | 1655 code_stub_interface_descriptors_ = NULL; |
1659 | 1656 |
1660 delete[] call_descriptors_; | 1657 delete[] call_descriptors_; |
(...skipping 706 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2367 if (prev_ && prev_->Intercept(flag)) return true; | 2364 if (prev_ && prev_->Intercept(flag)) return true; |
2368 // Then check whether this scope intercepts. | 2365 // Then check whether this scope intercepts. |
2369 if ((flag & intercept_mask_)) { | 2366 if ((flag & intercept_mask_)) { |
2370 intercepted_flags_ |= flag; | 2367 intercepted_flags_ |= flag; |
2371 return true; | 2368 return true; |
2372 } | 2369 } |
2373 return false; | 2370 return false; |
2374 } | 2371 } |
2375 | 2372 |
2376 } } // namespace v8::internal | 2373 } } // namespace v8::internal |
OLD | NEW |