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

Side by Side Diff: src/codegen.cc

Issue 483683005: Move IC code into a subdir and move ic-compilation related code from stub-cache into ic-compiler (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix BUILD.gn Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « src/code-stubs.cc ('k') | src/debug.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/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/bootstrapper.h" 7 #include "src/bootstrapper.h"
8 #include "src/codegen.h" 8 #include "src/codegen.h"
9 #include "src/compiler.h" 9 #include "src/compiler.h"
10 #include "src/cpu-profiler.h" 10 #include "src/cpu-profiler.h"
11 #include "src/debug.h" 11 #include "src/debug.h"
12 #include "src/prettyprinter.h" 12 #include "src/prettyprinter.h"
13 #include "src/rewriter.h" 13 #include "src/rewriter.h"
14 #include "src/runtime.h" 14 #include "src/runtime.h"
15 #include "src/stub-cache.h"
16 15
17 namespace v8 { 16 namespace v8 {
18 namespace internal { 17 namespace internal {
19 18
20 19
21 #if defined(_WIN64) 20 #if defined(_WIN64)
22 typedef double (*ModuloFunction)(double, double); 21 typedef double (*ModuloFunction)(double, double);
23 static ModuloFunction modulo_function = NULL; 22 static ModuloFunction modulo_function = NULL;
24 // Defined in codegen-x64.cc. 23 // Defined in codegen-x64.cc.
25 ModuloFunction CreateModuloFunction(); 24 ModuloFunction CreateModuloFunction();
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 DCHECK(result_size_ == 1 || result_size_ == 2); 258 DCHECK(result_size_ == 1 || result_size_ == 2);
260 #ifdef _WIN64 259 #ifdef _WIN64
261 return result | ((result_size_ == 1) ? 0 : 2); 260 return result | ((result_size_ == 1) ? 0 : 2);
262 #else 261 #else
263 return result; 262 return result;
264 #endif 263 #endif
265 } 264 }
266 265
267 266
268 } } // namespace v8::internal 267 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/code-stubs.cc ('k') | src/debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698