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

Side by Side Diff: src/compiler.cc

Issue 368007: Fix a bad commit due to an svn merge error. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 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 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 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 582 matching lines...) Expand 10 before | Expand all | Expand 10 after
593 Slot* slot = scope->parameter(i)->slot(); 593 Slot* slot = scope->parameter(i)->slot();
594 if (slot != NULL && slot->type() == Slot::CONTEXT) { 594 if (slot != NULL && slot->type() == Slot::CONTEXT) {
595 if (FLAG_trace_bailout) { 595 if (FLAG_trace_bailout) {
596 PrintF("function has context-allocated parameters"); 596 PrintF("function has context-allocated parameters");
597 } 597 }
598 return NORMAL; 598 return NORMAL;
599 } 599 }
600 } 600 }
601 } 601 }
602 602
603 if (scope->num_heap_slots() != 0) {
604 if (FLAG_trace_bailout) PrintF("function has context slots\n");
605 return NORMAL;
606 }
607 if (scope->arguments() != NULL) { 603 if (scope->arguments() != NULL) {
608 if (FLAG_trace_bailout) PrintF("function uses 'arguments'\n"); 604 if (FLAG_trace_bailout) PrintF("function uses 'arguments'\n");
609 return NORMAL; 605 return NORMAL;
610 } 606 }
611 607
612 has_supported_syntax_ = true; 608 has_supported_syntax_ = true;
613 VisitDeclarations(scope->declarations()); 609 VisitDeclarations(scope->declarations());
614 if (!has_supported_syntax_) return NORMAL; 610 if (!has_supported_syntax_) return NORMAL;
615 611
616 VisitStatements(fun->body()); 612 VisitStatements(fun->body());
(...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after
1103 1099
1104 void CodeGenSelector::VisitThisFunction(ThisFunction* expr) { 1100 void CodeGenSelector::VisitThisFunction(ThisFunction* expr) {
1105 BAILOUT("ThisFunction"); 1101 BAILOUT("ThisFunction");
1106 } 1102 }
1107 1103
1108 #undef BAILOUT 1104 #undef BAILOUT
1109 #undef CHECK_BAILOUT 1105 #undef CHECK_BAILOUT
1110 1106
1111 1107
1112 } } // namespace v8::internal 1108 } } // 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