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

Side by Side Diff: src/assembler.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/arm64/stub-cache-arm64.cc ('k') | src/builtins.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 (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 22 matching lines...) Expand all
33 // Copyright 2012 the V8 project authors. All rights reserved. 33 // Copyright 2012 the V8 project authors. All rights reserved.
34 34
35 #include "src/assembler.h" 35 #include "src/assembler.h"
36 36
37 #include <cmath> 37 #include <cmath>
38 #include "src/api.h" 38 #include "src/api.h"
39 #include "src/base/cpu.h" 39 #include "src/base/cpu.h"
40 #include "src/base/lazy-instance.h" 40 #include "src/base/lazy-instance.h"
41 #include "src/base/platform/platform.h" 41 #include "src/base/platform/platform.h"
42 #include "src/builtins.h" 42 #include "src/builtins.h"
43 #include "src/codegen.h"
43 #include "src/counters.h" 44 #include "src/counters.h"
44 #include "src/cpu-profiler.h" 45 #include "src/cpu-profiler.h"
45 #include "src/debug.h" 46 #include "src/debug.h"
46 #include "src/deoptimizer.h" 47 #include "src/deoptimizer.h"
47 #include "src/execution.h" 48 #include "src/execution.h"
48 #include "src/ic.h" 49 #include "src/ic/ic.h"
50 #include "src/ic/stub-cache.h"
49 #include "src/isolate-inl.h" 51 #include "src/isolate-inl.h"
50 #include "src/jsregexp.h" 52 #include "src/jsregexp.h"
51 #include "src/regexp-macro-assembler.h" 53 #include "src/regexp-macro-assembler.h"
52 #include "src/regexp-stack.h" 54 #include "src/regexp-stack.h"
53 #include "src/runtime.h" 55 #include "src/runtime.h"
54 #include "src/serialize.h" 56 #include "src/serialize.h"
55 #include "src/stub-cache.h"
56 #include "src/token.h" 57 #include "src/token.h"
57 58
58 #if V8_TARGET_ARCH_IA32 59 #if V8_TARGET_ARCH_IA32
59 #include "src/ia32/assembler-ia32-inl.h" // NOLINT 60 #include "src/ia32/assembler-ia32-inl.h" // NOLINT
60 #elif V8_TARGET_ARCH_X64 61 #elif V8_TARGET_ARCH_X64
61 #include "src/x64/assembler-x64-inl.h" // NOLINT 62 #include "src/x64/assembler-x64-inl.h" // NOLINT
62 #elif V8_TARGET_ARCH_ARM64 63 #elif V8_TARGET_ARCH_ARM64
63 #include "src/arm64/assembler-arm64-inl.h" // NOLINT 64 #include "src/arm64/assembler-arm64-inl.h" // NOLINT
64 #elif V8_TARGET_ARCH_ARM 65 #elif V8_TARGET_ARCH_ARM
65 #include "src/arm/assembler-arm-inl.h" // NOLINT 66 #include "src/arm/assembler-arm-inl.h" // NOLINT
(...skipping 1529 matching lines...) Expand 10 before | Expand all | Expand 10 after
1595 r2 = r2 - ad; 1596 r2 = r2 - ad;
1596 } 1597 }
1597 delta = ad - r2; 1598 delta = ad - r2;
1598 } while (q1 < delta || (q1 == delta && r1 == 0)); 1599 } while (q1 < delta || (q1 == delta && r1 == 0));
1599 int32_t mul = static_cast<int32_t>(q2 + 1); 1600 int32_t mul = static_cast<int32_t>(q2 + 1);
1600 multiplier_ = (d < 0) ? -mul : mul; 1601 multiplier_ = (d < 0) ? -mul : mul;
1601 shift_ = p - 32; 1602 shift_ = p - 32;
1602 } 1603 }
1603 1604
1604 } } // namespace v8::internal 1605 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm64/stub-cache-arm64.cc ('k') | src/builtins.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698