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

Side by Side Diff: src/codegen.cc

Issue 2305883002: Remove unnessary includes of parser.h (Closed)
Patch Set: More fixes in asm-js.h Created 4 years, 3 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/ast-graph-builder.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 10
11 #include <memory> 11 #include <memory>
12 12
13 #include "src/ast/prettyprinter.h" 13 #include "src/ast/prettyprinter.h"
14 #include "src/bootstrapper.h" 14 #include "src/bootstrapper.h"
15 #include "src/compilation-info.h" 15 #include "src/compilation-info.h"
16 #include "src/debug/debug.h" 16 #include "src/debug/debug.h"
17 #include "src/eh-frame.h" 17 #include "src/eh-frame.h"
18 #include "src/parsing/parser.h"
19 #include "src/runtime/runtime.h" 18 #include "src/runtime/runtime.h"
20 19
21 namespace v8 { 20 namespace v8 {
22 namespace internal { 21 namespace internal {
23 22
24 23
25 #if defined(V8_OS_WIN) 24 #if defined(V8_OS_WIN)
26 double modulo(double x, double y) { 25 double modulo(double x, double y) {
27 // Workaround MS fmod bugs. ECMA-262 says: 26 // Workaround MS fmod bugs. ECMA-262 says:
28 // dividend is finite and divisor is an infinity => result equals dividend 27 // dividend is finite and divisor is an infinity => result equals dividend
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 os << "source_position = " << shared->start_position() << "\n"; 190 os << "source_position = " << shared->start_position() << "\n";
192 } 191 }
193 code->Disassemble(debug_name.get(), os); 192 code->Disassemble(debug_name.get(), os);
194 os << "--- End code ---\n"; 193 os << "--- End code ---\n";
195 } 194 }
196 #endif // ENABLE_DISASSEMBLER 195 #endif // ENABLE_DISASSEMBLER
197 } 196 }
198 197
199 } // namespace internal 198 } // namespace internal
200 } // namespace v8 199 } // namespace v8
OLDNEW
« no previous file with comments | « src/code-stubs.cc ('k') | src/compiler/ast-graph-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698