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

Side by Side Diff: src/ia32/lithium-codegen-ia32.cc

Issue 9358019: Remove another two unused flags. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: 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/full-codegen.cc ('k') | src/x64/lithium-codegen-x64.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 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 604 matching lines...) Expand 10 before | Expand all | Expand 10 after
615 } else { 615 } else {
616 __ j(cc, entry, RelocInfo::RUNTIME_ENTRY); 616 __ j(cc, entry, RelocInfo::RUNTIME_ENTRY);
617 } 617 }
618 } 618 }
619 } 619 }
620 620
621 621
622 void LCodeGen::PopulateDeoptimizationData(Handle<Code> code) { 622 void LCodeGen::PopulateDeoptimizationData(Handle<Code> code) {
623 int length = deoptimizations_.length(); 623 int length = deoptimizations_.length();
624 if (length == 0) return; 624 if (length == 0) return;
625 ASSERT(FLAG_deopt);
626 Handle<DeoptimizationInputData> data = 625 Handle<DeoptimizationInputData> data =
627 factory()->NewDeoptimizationInputData(length, TENURED); 626 factory()->NewDeoptimizationInputData(length, TENURED);
628 627
629 Handle<ByteArray> translations = translations_.CreateByteArray(); 628 Handle<ByteArray> translations = translations_.CreateByteArray();
630 data->SetTranslationByteArray(*translations); 629 data->SetTranslationByteArray(*translations);
631 data->SetInlinedFunctionCount(Smi::FromInt(inlined_function_count_)); 630 data->SetInlinedFunctionCount(Smi::FromInt(inlined_function_count_));
632 631
633 Handle<FixedArray> literals = 632 Handle<FixedArray> literals =
634 factory()->NewFixedArray(deoptimization_literals_.length(), TENURED); 633 factory()->NewFixedArray(deoptimization_literals_.length(), TENURED);
635 for (int i = 0; i < deoptimization_literals_.length(); i++) { 634 for (int i = 0; i < deoptimization_literals_.length(); i++) {
(...skipping 4045 matching lines...) Expand 10 before | Expand all | Expand 10 after
4681 this, pointers, Safepoint::kLazyDeopt); 4680 this, pointers, Safepoint::kLazyDeopt);
4682 __ InvokeBuiltin(Builtins::IN, CALL_FUNCTION, safepoint_generator); 4681 __ InvokeBuiltin(Builtins::IN, CALL_FUNCTION, safepoint_generator);
4683 } 4682 }
4684 4683
4685 4684
4686 #undef __ 4685 #undef __
4687 4686
4688 } } // namespace v8::internal 4687 } } // namespace v8::internal
4689 4688
4690 #endif // V8_TARGET_ARCH_IA32 4689 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/full-codegen.cc ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698