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

Side by Side Diff: src/hydrogen.cc

Issue 7869009: Remove in-loop tracking for call ICs. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 3 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/handles.cc ('k') | src/ia32/full-codegen-ia32.cc » ('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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 631 matching lines...) Expand 10 before | Expand all | Expand 10 after
642 642
643 if (FLAG_eliminate_empty_blocks) { 643 if (FLAG_eliminate_empty_blocks) {
644 chunk->MarkEmptyBlocks(); 644 chunk->MarkEmptyBlocks();
645 } 645 }
646 646
647 if (generator.GenerateCode()) { 647 if (generator.GenerateCode()) {
648 if (FLAG_trace_codegen) { 648 if (FLAG_trace_codegen) {
649 PrintF("Crankshaft Compiler - "); 649 PrintF("Crankshaft Compiler - ");
650 } 650 }
651 CodeGenerator::MakeCodePrologue(info); 651 CodeGenerator::MakeCodePrologue(info);
652 Code::Flags flags = 652 Code::Flags flags = Code::ComputeFlags(Code::OPTIMIZED_FUNCTION);
653 Code::ComputeFlags(Code::OPTIMIZED_FUNCTION, NOT_IN_LOOP);
654 Handle<Code> code = 653 Handle<Code> code =
655 CodeGenerator::MakeCodeEpilogue(&assembler, flags, info); 654 CodeGenerator::MakeCodeEpilogue(&assembler, flags, info);
656 generator.FinishCode(code); 655 generator.FinishCode(code);
657 CodeGenerator::PrintCode(code, info); 656 CodeGenerator::PrintCode(code, info);
658 return code; 657 return code;
659 } 658 }
660 return Handle<Code>::null(); 659 return Handle<Code>::null();
661 } 660 }
662 661
663 662
(...skipping 6149 matching lines...) Expand 10 before | Expand all | Expand 10 after
6813 } 6812 }
6814 } 6813 }
6815 6814
6816 #ifdef DEBUG 6815 #ifdef DEBUG
6817 if (graph_ != NULL) graph_->Verify(); 6816 if (graph_ != NULL) graph_->Verify();
6818 if (allocator_ != NULL) allocator_->Verify(); 6817 if (allocator_ != NULL) allocator_->Verify();
6819 #endif 6818 #endif
6820 } 6819 }
6821 6820
6822 } } // namespace v8::internal 6821 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/handles.cc ('k') | src/ia32/full-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698