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

Side by Side Diff: src/deoptimizer.h

Issue 9325019: Allow bailing out of the register allocator when running out of virtual registers. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 8 years, 10 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 | « src/compiler.cc ('k') | src/flag-definitions.h » ('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 // 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 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 263
264 int count_; 264 int count_;
265 }; 265 };
266 266
267 int ConvertJSFrameIndexToFrameIndex(int jsframe_index); 267 int ConvertJSFrameIndexToFrameIndex(int jsframe_index);
268 268
269 private: 269 private:
270 #ifdef V8_TARGET_ARCH_MIPS 270 #ifdef V8_TARGET_ARCH_MIPS
271 static const int kNumberOfEntries = 4096; 271 static const int kNumberOfEntries = 4096;
272 #else 272 #else
273 static const int kNumberOfEntries = 8192; 273 static const int kNumberOfEntries = 16384;
274 #endif 274 #endif
275 275
276 Deoptimizer(Isolate* isolate, 276 Deoptimizer(Isolate* isolate,
277 JSFunction* function, 277 JSFunction* function,
278 BailoutType type, 278 BailoutType type,
279 unsigned bailout_id, 279 unsigned bailout_id,
280 Address from, 280 Address from,
281 int fp_to_sp_delta, 281 int fp_to_sp_delta,
282 Code* optimized_code); 282 Code* optimized_code);
283 void DeleteFrameDescriptions(); 283 void DeleteFrameDescriptions();
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after
778 Object** expression_stack_; 778 Object** expression_stack_;
779 int source_position_; 779 int source_position_;
780 780
781 friend class Deoptimizer; 781 friend class Deoptimizer;
782 }; 782 };
783 #endif 783 #endif
784 784
785 } } // namespace v8::internal 785 } } // namespace v8::internal
786 786
787 #endif // V8_DEOPTIMIZER_H_ 787 #endif // V8_DEOPTIMIZER_H_
OLDNEW
« no previous file with comments | « src/compiler.cc ('k') | src/flag-definitions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698