OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 "src/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #include "src/assembler.h" | 7 #include "src/assembler.h" |
8 #include "src/compilation-cache.h" | 8 #include "src/compilation-cache.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
393 enabled_ = true; | 393 enabled_ = true; |
394 } | 394 } |
395 | 395 |
396 | 396 |
397 void CompilationCache::Disable() { | 397 void CompilationCache::Disable() { |
398 enabled_ = false; | 398 enabled_ = false; |
399 Clear(); | 399 Clear(); |
400 } | 400 } |
401 | 401 |
402 | 402 |
403 } } // namespace v8::internal | 403 } // namespace internal |
| 404 } // namespace v8 |
OLD | NEW |