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

Side by Side Diff: src/compiler/x64/code-generator-x64.cc

Issue 440863002: Remove broken _WIN64 checks. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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 | « no previous file | src/compiler/x64/instruction-selector-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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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/compiler/code-generator.h" 5 #include "src/compiler/code-generator.h"
6 6
7 #include "src/compiler/code-generator-impl.h" 7 #include "src/compiler/code-generator-impl.h"
8 #include "src/compiler/gap-resolver.h" 8 #include "src/compiler/gap-resolver.h"
9 #include "src/compiler/node-matchers.h" 9 #include "src/compiler/node-matchers.h"
10 #include "src/compiler/node-properties-inl.h" 10 #include "src/compiler/node-properties-inl.h"
11 #include "src/scopes.h" 11 #include "src/scopes.h"
12 #include "src/x64/assembler-x64.h" 12 #include "src/x64/assembler-x64.h"
13 #include "src/x64/macro-assembler-x64.h" 13 #include "src/x64/macro-assembler-x64.h"
14 14
15 namespace v8 { 15 namespace v8 {
16 namespace internal { 16 namespace internal {
17 namespace compiler { 17 namespace compiler {
18 18
19 #ifndef _WIN64
20
21 #define __ masm()-> 19 #define __ masm()->
22 20
23 21
24 // TODO(turbofan): Cleanup these hacks. 22 // TODO(turbofan): Cleanup these hacks.
25 enum Immediate64Type { kImm64Value, kImm64Handle, kImm64Reference }; 23 enum Immediate64Type { kImm64Value, kImm64Handle, kImm64Reference };
26 24
27 25
28 struct Immediate64 { 26 struct Immediate64 {
29 uint64_t value; 27 uint64_t value;
30 Handle<Object> handle; 28 Handle<Object> handle;
(...skipping 960 matching lines...) Expand 10 before | Expand all | Expand 10 after
991 int end_pc) { 989 int end_pc) {
992 if (start_pc + 1 != end_pc) { 990 if (start_pc + 1 != end_pc) {
993 return false; 991 return false;
994 } 992 }
995 return *(code->instruction_start() + start_pc) == 993 return *(code->instruction_start() + start_pc) ==
996 v8::internal::Assembler::kNopByte; 994 v8::internal::Assembler::kNopByte;
997 } 995 }
998 996
999 #endif 997 #endif
1000 998
1001 #endif 999 } // namespace internal
1002 } 1000 } // namespace compiler
1003 } 1001 } // namespace v8
1004 } // namespace v8::internal::compiler
OLDNEW
« no previous file with comments | « no previous file | src/compiler/x64/instruction-selector-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698