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

Side by Side Diff: src/hydrogen.cc

Issue 9365015: Remove remaining occurrences of the unused --opt-eagerly flag. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: fixed lint 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/api.cc ('k') | 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 5450 matching lines...) Expand 10 before | Expand all | Expand 10 after
5461 CHECK_ALIVE(VisitForValue(expr->expression())); 5461 CHECK_ALIVE(VisitForValue(expr->expression()));
5462 HValue* function = Top(); 5462 HValue* function = Top();
5463 HValue* context = environment()->LookupContext(); 5463 HValue* context = environment()->LookupContext();
5464 HGlobalObject* global = new(zone()) HGlobalObject(context); 5464 HGlobalObject* global = new(zone()) HGlobalObject(context);
5465 HGlobalReceiver* receiver = new(zone()) HGlobalReceiver(global); 5465 HGlobalReceiver* receiver = new(zone()) HGlobalReceiver(global);
5466 AddInstruction(global); 5466 AddInstruction(global);
5467 PushAndAdd(receiver); 5467 PushAndAdd(receiver);
5468 CHECK_ALIVE(VisitExpressions(expr->arguments())); 5468 CHECK_ALIVE(VisitExpressions(expr->arguments()));
5469 AddInstruction(new(zone()) HCheckFunction(function, expr->target())); 5469 AddInstruction(new(zone()) HCheckFunction(function, expr->target()));
5470 5470
5471 if (TryInlineBuiltinFunctionCall(expr, true)) { // Drop the function. 5471 if (TryInlineBuiltinFunctionCall(expr, true)) { // Drop the function.
5472 if (FLAG_trace_inlining) { 5472 if (FLAG_trace_inlining) {
5473 PrintF("Inlining builtin "); 5473 PrintF("Inlining builtin ");
5474 expr->target()->ShortPrint(); 5474 expr->target()->ShortPrint();
5475 PrintF("\n"); 5475 PrintF("\n");
5476 } 5476 }
5477 return; 5477 return;
5478 } 5478 }
5479 5479
5480 if (TryInline(expr, true)) { // Drop function from environment. 5480 if (TryInline(expr, true)) { // Drop function from environment.
5481 return; 5481 return;
(...skipping 2033 matching lines...) Expand 10 before | Expand all | Expand 10 after
7515 } 7515 }
7516 } 7516 }
7517 7517
7518 #ifdef DEBUG 7518 #ifdef DEBUG
7519 if (graph_ != NULL) graph_->Verify(false); // No full verify. 7519 if (graph_ != NULL) graph_->Verify(false); // No full verify.
7520 if (allocator_ != NULL) allocator_->Verify(); 7520 if (allocator_ != NULL) allocator_->Verify();
7521 #endif 7521 #endif
7522 } 7522 }
7523 7523
7524 } } // namespace v8::internal 7524 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/api.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698