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

Side by Side Diff: src/full-codegen.h

Issue 293743005: Introduce x87 port (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: rebase Created 6 years, 7 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/frames-inl.h ('k') | src/gdb-jit.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 #ifndef V8_FULL_CODEGEN_H_ 5 #ifndef V8_FULL_CODEGEN_H_
6 #define V8_FULL_CODEGEN_H_ 6 #define V8_FULL_CODEGEN_H_
7 7
8 #include "v8.h" 8 #include "v8.h"
9 9
10 #include "allocation.h" 10 #include "allocation.h"
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 case NO_REGISTERS: return "NO_REGISTERS"; 92 case NO_REGISTERS: return "NO_REGISTERS";
93 case TOS_REG: return "TOS_REG"; 93 case TOS_REG: return "TOS_REG";
94 } 94 }
95 UNREACHABLE(); 95 UNREACHABLE();
96 return NULL; 96 return NULL;
97 } 97 }
98 98
99 static const int kMaxBackEdgeWeight = 127; 99 static const int kMaxBackEdgeWeight = 127;
100 100
101 // Platform-specific code size multiplier. 101 // Platform-specific code size multiplier.
102 #if V8_TARGET_ARCH_IA32 102 #if V8_TARGET_ARCH_IA32 || V8_TARGET_ARCH_X87
103 static const int kCodeSizeMultiplier = 105; 103 static const int kCodeSizeMultiplier = 105;
104 static const int kBootCodeSizeMultiplier = 100; 104 static const int kBootCodeSizeMultiplier = 100;
105 #elif V8_TARGET_ARCH_X64 105 #elif V8_TARGET_ARCH_X64
106 static const int kCodeSizeMultiplier = 170; 106 static const int kCodeSizeMultiplier = 170;
107 static const int kBootCodeSizeMultiplier = 140; 107 static const int kBootCodeSizeMultiplier = 140;
108 #elif V8_TARGET_ARCH_ARM 108 #elif V8_TARGET_ARCH_ARM
109 static const int kCodeSizeMultiplier = 149; 109 static const int kCodeSizeMultiplier = 149;
110 static const int kBootCodeSizeMultiplier = 110; 110 static const int kBootCodeSizeMultiplier = 110;
111 #elif V8_TARGET_ARCH_ARM64 111 #elif V8_TARGET_ARCH_ARM64
112 // TODO(all): Copied ARM value. Check this is sensible for ARM64. 112 // TODO(all): Copied ARM value. Check this is sensible for ARM64.
(...skipping 825 matching lines...) Expand 10 before | Expand all | Expand 10 after
938 938
939 Address start_; 939 Address start_;
940 Address instruction_start_; 940 Address instruction_start_;
941 uint32_t length_; 941 uint32_t length_;
942 }; 942 };
943 943
944 944
945 } } // namespace v8::internal 945 } } // namespace v8::internal
946 946
947 #endif // V8_FULL_CODEGEN_H_ 947 #endif // V8_FULL_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/frames-inl.h ('k') | src/gdb-jit.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698