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

Side by Side Diff: src/ic/x64/ic-x64.cc

Issue 1293793002: Remove grab-bag includes of v8.h from IC subsystem. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix compilation on ARM and MIPS64. Created 5 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
« no previous file with comments | « src/ic/x64/ic-compiler-x64.cc ('k') | src/ic/x64/stub-cache-x64.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"
6
7 #if V8_TARGET_ARCH_X64 5 #if V8_TARGET_ARCH_X64
8 6
9 #include "src/codegen.h" 7 #include "src/codegen.h"
10 #include "src/ic/ic.h" 8 #include "src/ic/ic.h"
11 #include "src/ic/ic-compiler.h" 9 #include "src/ic/ic-compiler.h"
12 #include "src/ic/stub-cache.h" 10 #include "src/ic/stub-cache.h"
13 11
14 namespace v8 { 12 namespace v8 {
15 namespace internal { 13 namespace internal {
16 14
(...skipping 863 matching lines...) Expand 10 before | Expand all | Expand 10 after
880 Condition cc = 878 Condition cc =
881 (check == ENABLE_INLINED_SMI_CHECK) 879 (check == ENABLE_INLINED_SMI_CHECK)
882 ? (*jmp_address == Assembler::kJncShortOpcode ? not_zero : zero) 880 ? (*jmp_address == Assembler::kJncShortOpcode ? not_zero : zero)
883 : (*jmp_address == Assembler::kJnzShortOpcode ? not_carry : carry); 881 : (*jmp_address == Assembler::kJnzShortOpcode ? not_carry : carry);
884 *jmp_address = static_cast<byte>(Assembler::kJccShortPrefix | cc); 882 *jmp_address = static_cast<byte>(Assembler::kJccShortPrefix | cc);
885 } 883 }
886 } // namespace internal 884 } // namespace internal
887 } // namespace v8 885 } // namespace v8
888 886
889 #endif // V8_TARGET_ARCH_X64 887 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/ic/x64/ic-compiler-x64.cc ('k') | src/ic/x64/stub-cache-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698