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

Side by Side Diff: src/deoptimizer.h

Issue 9169079: MIPS: Reverted the number of deopt entries to 4096. (Closed)
Patch Set: Created 8 years, 11 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 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 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 260
261 private: 261 private:
262 int count() const { return count_; } 262 int count() const { return count_; }
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
271 static const int kNumberOfEntries = 4096;
fschneider 2012/01/26 15:33:40 Maybe add a comment to why the size is smaller on
272 #else
270 static const int kNumberOfEntries = 8192; 273 static const int kNumberOfEntries = 8192;
274 #endif
271 275
272 Deoptimizer(Isolate* isolate, 276 Deoptimizer(Isolate* isolate,
273 JSFunction* function, 277 JSFunction* function,
274 BailoutType type, 278 BailoutType type,
275 unsigned bailout_id, 279 unsigned bailout_id,
276 Address from, 280 Address from,
277 int fp_to_sp_delta, 281 int fp_to_sp_delta,
278 Code* optimized_code); 282 Code* optimized_code);
279 void DeleteFrameDescriptions(); 283 void DeleteFrameDescriptions();
280 284
(...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after
769 Object** parameters_; 773 Object** parameters_;
770 Object** expression_stack_; 774 Object** expression_stack_;
771 775
772 friend class Deoptimizer; 776 friend class Deoptimizer;
773 }; 777 };
774 #endif 778 #endif
775 779
776 } } // namespace v8::internal 780 } } // namespace v8::internal
777 781
778 #endif // V8_DEOPTIMIZER_H_ 782 #endif // V8_DEOPTIMIZER_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