| 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 "src/optimizing-compile-dispatcher.h" | 5 #include "src/optimizing-compile-dispatcher.h" |
| 6 | 6 |
| 7 #include "src/v8.h" | 7 #include "src/v8.h" |
| 8 | 8 |
| 9 #include "src/base/atomicops.h" | 9 #include "src/base/atomicops.h" |
| 10 #include "src/full-codegen.h" | 10 #include "src/full-codegen.h" |
| (...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 349 if (FLAG_trace_osr) { | 349 if (FLAG_trace_osr) { |
| 350 PrintF("[COSR - Discarded "); | 350 PrintF("[COSR - Discarded "); |
| 351 info->closure()->PrintName(); | 351 info->closure()->PrintName(); |
| 352 PrintF(", AST id %d]\n", info->osr_ast_id().ToInt()); | 352 PrintF(", AST id %d]\n", info->osr_ast_id().ToInt()); |
| 353 } | 353 } |
| 354 DisposeOptimizedCompileJob(stale, false); | 354 DisposeOptimizedCompileJob(stale, false); |
| 355 } | 355 } |
| 356 osr_buffer_[osr_buffer_cursor_] = job; | 356 osr_buffer_[osr_buffer_cursor_] = job; |
| 357 osr_buffer_cursor_ = (osr_buffer_cursor_ + 1) % osr_buffer_capacity_; | 357 osr_buffer_cursor_ = (osr_buffer_cursor_ + 1) % osr_buffer_capacity_; |
| 358 } | 358 } |
| 359 } | 359 } // namespace internal |
| 360 } // namespace v8::internal | 360 } // namespace v8 |
| OLD | NEW |