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

Side by Side Diff: src/execution.h

Issue 159852: X64: double stack size, to be able to have the same number of stack frames as in ia32. (Closed)
Patch Set: Created 11 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 | « 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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 } else { 198 } else {
199 thread_local_.jslimit_ = thread_local_.initial_jslimit_; 199 thread_local_.jslimit_ = thread_local_.initial_jslimit_;
200 thread_local_.climit_ = thread_local_.initial_climit_; 200 thread_local_.climit_ = thread_local_.initial_climit_;
201 } 201 }
202 } 202 }
203 203
204 // Enable or disable interrupts. 204 // Enable or disable interrupts.
205 static void EnableInterrupts(); 205 static void EnableInterrupts();
206 static void DisableInterrupts(); 206 static void DisableInterrupts();
207 207
208 static const uintptr_t kLimitSize = 512 * KB; 208 static const uintptr_t kLimitSize = kPointerSize * 128 * KB;
209 static const uintptr_t kInterruptLimit = 0xfffffffe; 209 static const uintptr_t kInterruptLimit = 0xfffffffe;
210 static const uintptr_t kIllegalLimit = 0xffffffff; 210 static const uintptr_t kIllegalLimit = 0xffffffff;
211 211
212 class ThreadLocal { 212 class ThreadLocal {
213 public: 213 public:
214 ThreadLocal() 214 ThreadLocal()
215 : initial_jslimit_(kIllegalLimit), 215 : initial_jslimit_(kIllegalLimit),
216 jslimit_(kIllegalLimit), 216 jslimit_(kIllegalLimit),
217 initial_climit_(kIllegalLimit), 217 initial_climit_(kIllegalLimit),
218 climit_(kIllegalLimit), 218 climit_(kIllegalLimit),
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 v8::Handle<v8::String> name); 275 v8::Handle<v8::String> name);
276 static v8::Handle<v8::Value> GC(const v8::Arguments& args); 276 static v8::Handle<v8::Value> GC(const v8::Arguments& args);
277 private: 277 private:
278 static const char* kSource; 278 static const char* kSource;
279 }; 279 };
280 280
281 281
282 } } // namespace v8::internal 282 } } // namespace v8::internal
283 283
284 #endif // V8_EXECUTION_H_ 284 #endif // V8_EXECUTION_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