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

Side by Side Diff: src/globals.h

Issue 663333005: Disable OOL constant pool for Arm. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 1 month 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 | no next file » | 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_GLOBALS_H_ 5 #ifndef V8_GLOBALS_H_
6 #define V8_GLOBALS_H_ 6 #define V8_GLOBALS_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 #endif 60 #endif
61 #if (V8_TARGET_ARCH_MIPS && !V8_HOST_ARCH_MIPS) 61 #if (V8_TARGET_ARCH_MIPS && !V8_HOST_ARCH_MIPS)
62 #define USE_SIMULATOR 1 62 #define USE_SIMULATOR 1
63 #endif 63 #endif
64 #if (V8_TARGET_ARCH_MIPS64 && !V8_HOST_ARCH_MIPS64) 64 #if (V8_TARGET_ARCH_MIPS64 && !V8_HOST_ARCH_MIPS64)
65 #define USE_SIMULATOR 1 65 #define USE_SIMULATOR 1
66 #endif 66 #endif
67 #endif 67 #endif
68 68
69 // Determine whether the architecture uses an out-of-line constant pool. 69 // Determine whether the architecture uses an out-of-line constant pool.
70 #if V8_TARGET_ARCH_ARM
71 #define V8_OOL_CONSTANT_POOL 1
72 #else
73 #define V8_OOL_CONSTANT_POOL 0 70 #define V8_OOL_CONSTANT_POOL 0
74 #endif
75 71
76 #ifdef V8_TARGET_ARCH_ARM 72 #ifdef V8_TARGET_ARCH_ARM
77 // Set stack limit lower for ARM than for other architectures because 73 // Set stack limit lower for ARM than for other architectures because
78 // stack allocating MacroAssembler takes 120K bytes. 74 // stack allocating MacroAssembler takes 120K bytes.
79 // See issue crbug.com/405338 75 // See issue crbug.com/405338
80 #define V8_DEFAULT_STACK_SIZE_KB 864 76 #define V8_DEFAULT_STACK_SIZE_KB 864
81 #else 77 #else
82 // Slightly less than 1MB, since Windows' default stack size for 78 // Slightly less than 1MB, since Windows' default stack size for
83 // the main execution thread is 1MB for both 32 and 64-bit. 79 // the main execution thread is 1MB for both 32 and 64-bit.
84 #define V8_DEFAULT_STACK_SIZE_KB 984 80 #define V8_DEFAULT_STACK_SIZE_KB 984
(...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after
805 801
806 inline bool IsConciseMethod(FunctionKind kind) { 802 inline bool IsConciseMethod(FunctionKind kind) {
807 DCHECK(IsValidFunctionKind(kind)); 803 DCHECK(IsValidFunctionKind(kind));
808 return kind & FunctionKind::kConciseMethod; 804 return kind & FunctionKind::kConciseMethod;
809 } 805 }
810 } } // namespace v8::internal 806 } } // namespace v8::internal
811 807
812 namespace i = v8::internal; 808 namespace i = v8::internal;
813 809
814 #endif // V8_GLOBALS_H_ 810 #endif // V8_GLOBALS_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698