Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(353)

Side by Side Diff: src/codegen.cc

Issue 2061623002: Introduce JIT code events dispatcher for the isolate. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebaseline Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/code-stubs.cc ('k') | src/compiler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/codegen.h" 5 #include "src/codegen.h"
6 6
7 #if defined(V8_OS_AIX) 7 #if defined(V8_OS_AIX)
8 #include <fenv.h> // NOLINT(build/c++11) 8 #include <fenv.h> // NOLINT(build/c++11)
9 #endif 9 #endif
10 #include "src/ast/prettyprinter.h" 10 #include "src/ast/prettyprinter.h"
11 #include "src/bootstrapper.h" 11 #include "src/bootstrapper.h"
12 #include "src/compiler.h" 12 #include "src/compiler.h"
13 #include "src/debug/debug.h" 13 #include "src/debug/debug.h"
14 #include "src/parsing/parser.h" 14 #include "src/parsing/parser.h"
15 #include "src/profiler/cpu-profiler.h"
16 #include "src/runtime/runtime.h" 15 #include "src/runtime/runtime.h"
17 16
18 namespace v8 { 17 namespace v8 {
19 namespace internal { 18 namespace internal {
20 19
21 20
22 #if defined(V8_OS_WIN) 21 #if defined(V8_OS_WIN)
23 double modulo(double x, double y) { 22 double modulo(double x, double y) {
24 // Workaround MS fmod bugs. ECMA-262 says: 23 // Workaround MS fmod bugs. ECMA-262 says:
25 // dividend is finite and divisor is an infinity => result equals dividend 24 // dividend is finite and divisor is an infinity => result equals dividend
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 os << "source_position = " << shared->start_position() << "\n"; 195 os << "source_position = " << shared->start_position() << "\n";
197 } 196 }
198 code->Disassemble(debug_name.get(), os); 197 code->Disassemble(debug_name.get(), os);
199 os << "--- End code ---\n"; 198 os << "--- End code ---\n";
200 } 199 }
201 #endif // ENABLE_DISASSEMBLER 200 #endif // ENABLE_DISASSEMBLER
202 } 201 }
203 202
204 } // namespace internal 203 } // namespace internal
205 } // namespace v8 204 } // namespace v8
OLDNEW
« no previous file with comments | « src/code-stubs.cc ('k') | src/compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698