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

Side by Side Diff: src/codegen.cc

Issue 1481613002: Create ast/ and parsing/ subdirectories and move appropriate files (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 5 years 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.h » ('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/bootstrapper.h" 11 #include "src/bootstrapper.h"
11 #include "src/compiler.h" 12 #include "src/compiler.h"
12 #include "src/debug/debug.h" 13 #include "src/debug/debug.h"
13 #include "src/parser.h" 14 #include "src/parsing/parser.h"
14 #include "src/prettyprinter.h"
15 #include "src/profiler/cpu-profiler.h" 15 #include "src/profiler/cpu-profiler.h"
16 #include "src/rewriter.h"
17 #include "src/runtime/runtime.h" 16 #include "src/runtime/runtime.h"
18 17
19 namespace v8 { 18 namespace v8 {
20 namespace internal { 19 namespace internal {
21 20
22 21
23 #if defined(V8_OS_WIN) 22 #if defined(V8_OS_WIN)
24 double modulo(double x, double y) { 23 double modulo(double x, double y) {
25 // Workaround MS fmod bugs. ECMA-262 says: 24 // Workaround MS fmod bugs. ECMA-262 says:
26 // dividend is finite and divisor is an infinity => result equals dividend 25 // dividend is finite and divisor is an infinity => result equals dividend
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 os << "source_position = " << literal->start_position() << "\n"; 204 os << "source_position = " << literal->start_position() << "\n";
206 } 205 }
207 code->Disassemble(debug_name.get(), os); 206 code->Disassemble(debug_name.get(), os);
208 os << "--- End code ---\n"; 207 os << "--- End code ---\n";
209 } 208 }
210 #endif // ENABLE_DISASSEMBLER 209 #endif // ENABLE_DISASSEMBLER
211 } 210 }
212 211
213 } // namespace internal 212 } // namespace internal
214 } // namespace v8 213 } // namespace v8
OLDNEW
« no previous file with comments | « src/code-stubs.cc ('k') | src/compiler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698