| OLD | NEW |
| 1 // Copyright 2008 the V8 project authors. All rights reserved. | 1 // Copyright 2008 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 573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 584 | 584 |
| 585 | 585 |
| 586 class HandleAndZoneScope : public InitializedHandleScope { | 586 class HandleAndZoneScope : public InitializedHandleScope { |
| 587 public: | 587 public: |
| 588 HandleAndZoneScope() {} | 588 HandleAndZoneScope() {} |
| 589 | 589 |
| 590 // Prefixing the below with main_ reduces a lot of naming clashes. | 590 // Prefixing the below with main_ reduces a lot of naming clashes. |
| 591 i::Zone* main_zone() { return &main_zone_; } | 591 i::Zone* main_zone() { return &main_zone_; } |
| 592 | 592 |
| 593 private: | 593 private: |
| 594 i::Zone main_zone_; | 594 i::ZoneForTesting main_zone_; |
| 595 }; | 595 }; |
| 596 | 596 |
| 597 #endif // ifndef CCTEST_H_ | 597 #endif // ifndef CCTEST_H_ |
| OLD | NEW |