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

Side by Side Diff: src/deoptimizer.cc

Issue 11668006: Fixed typing confusion found by GCMole (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years 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 // 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 484 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 switch (type) { 495 switch (type) {
496 case EAGER: 496 case EAGER:
497 case LAZY: 497 case LAZY:
498 return "DEOPT"; 498 return "DEOPT";
499 case DEBUGGER: 499 case DEBUGGER:
500 return "DEOPT FOR DEBUGGER"; 500 return "DEOPT FOR DEBUGGER";
501 case OSR: 501 case OSR:
502 return "OSR"; 502 return "OSR";
503 } 503 }
504 UNREACHABLE(); 504 UNREACHABLE();
505 return false; 505 return NULL;
506 } 506 }
507 507
508 508
509 Deoptimizer::Deoptimizer(Isolate* isolate, 509 Deoptimizer::Deoptimizer(Isolate* isolate,
510 JSFunction* function, 510 JSFunction* function,
511 BailoutType type, 511 BailoutType type,
512 unsigned bailout_id, 512 unsigned bailout_id,
513 Address from, 513 Address from,
514 int fp_to_sp_delta, 514 int fp_to_sp_delta,
515 Code* optimized_code) 515 Code* optimized_code)
(...skipping 1595 matching lines...) Expand 10 before | Expand all | Expand 10 after
2111 2111
2112 void DeoptimizedFrameInfo::Iterate(ObjectVisitor* v) { 2112 void DeoptimizedFrameInfo::Iterate(ObjectVisitor* v) {
2113 v->VisitPointer(BitCast<Object**>(&function_)); 2113 v->VisitPointer(BitCast<Object**>(&function_));
2114 v->VisitPointers(parameters_, parameters_ + parameters_count_); 2114 v->VisitPointers(parameters_, parameters_ + parameters_count_);
2115 v->VisitPointers(expression_stack_, expression_stack_ + expression_count_); 2115 v->VisitPointers(expression_stack_, expression_stack_ + expression_count_);
2116 } 2116 }
2117 2117
2118 #endif // ENABLE_DEBUGGER_SUPPORT 2118 #endif // ENABLE_DEBUGGER_SUPPORT
2119 2119
2120 } } // namespace v8::internal 2120 } } // namespace v8::internal
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