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/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #include "src/cpu-profiler-inl.h" | 7 #include "src/cpu-profiler-inl.h" |
8 | 8 |
9 #include "src/compiler.h" | 9 #include "src/compiler.h" |
10 #include "src/deoptimizer.h" | 10 #include "src/deoptimizer.h" |
(...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
537 CodeEventsContainer evt_rec(CodeEventRecord::REPORT_BUILTIN); | 537 CodeEventsContainer evt_rec(CodeEventRecord::REPORT_BUILTIN); |
538 ReportBuiltinEventRecord* rec = &evt_rec.ReportBuiltinEventRecord_; | 538 ReportBuiltinEventRecord* rec = &evt_rec.ReportBuiltinEventRecord_; |
539 Builtins::Name id = static_cast<Builtins::Name>(i); | 539 Builtins::Name id = static_cast<Builtins::Name>(i); |
540 rec->start = builtins->builtin(id)->address(); | 540 rec->start = builtins->builtin(id)->address(); |
541 rec->builtin_id = id; | 541 rec->builtin_id = id; |
542 processor_->Enqueue(evt_rec); | 542 processor_->Enqueue(evt_rec); |
543 } | 543 } |
544 } | 544 } |
545 | 545 |
546 | 546 |
547 } } // namespace v8::internal | 547 } // namespace internal |
| 548 } // namespace v8 |
OLD | NEW |