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

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

Issue 256993003: Remove some remnants of MaybeObjects in objects.*. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: addressed comment Created 6 years, 7 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/objects-inl.h ('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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 795 matching lines...) Expand 10 before | Expand all | Expand 10 after
806 ? Deoptimizer::LAZY 806 ? Deoptimizer::LAZY
807 : Deoptimizer::EAGER; 807 : Deoptimizer::EAGER;
808 DeoptimizeIf(cc, environment, bailout_type); 808 DeoptimizeIf(cc, environment, bailout_type);
809 } 809 }
810 810
811 811
812 void LCodeGen::PopulateDeoptimizationData(Handle<Code> code) { 812 void LCodeGen::PopulateDeoptimizationData(Handle<Code> code) {
813 int length = deoptimizations_.length(); 813 int length = deoptimizations_.length();
814 if (length == 0) return; 814 if (length == 0) return;
815 Handle<DeoptimizationInputData> data = 815 Handle<DeoptimizationInputData> data =
816 factory()->NewDeoptimizationInputData(length, TENURED); 816 DeoptimizationInputData::New(isolate(), length, TENURED);
817 817
818 Handle<ByteArray> translations = 818 Handle<ByteArray> translations =
819 translations_.CreateByteArray(isolate()->factory()); 819 translations_.CreateByteArray(isolate()->factory());
820 data->SetTranslationByteArray(*translations); 820 data->SetTranslationByteArray(*translations);
821 data->SetInlinedFunctionCount(Smi::FromInt(inlined_function_count_)); 821 data->SetInlinedFunctionCount(Smi::FromInt(inlined_function_count_));
822 data->SetOptimizationId(Smi::FromInt(info_->optimization_id())); 822 data->SetOptimizationId(Smi::FromInt(info_->optimization_id()));
823 if (info_->IsOptimizing()) { 823 if (info_->IsOptimizing()) {
824 // Reference to shared function info does not change between phases. 824 // Reference to shared function info does not change between phases.
825 AllowDeferredHandleDereference allow_handle_dereference; 825 AllowDeferredHandleDereference allow_handle_dereference;
826 data->SetSharedFunctionInfo(*info_->shared_info()); 826 data->SetSharedFunctionInfo(*info_->shared_info());
(...skipping 4900 matching lines...) Expand 10 before | Expand all | Expand 10 after
5727 __ bind(deferred->exit()); 5727 __ bind(deferred->exit());
5728 __ bind(&done); 5728 __ bind(&done);
5729 } 5729 }
5730 5730
5731 5731
5732 #undef __ 5732 #undef __
5733 5733
5734 } } // namespace v8::internal 5734 } } // namespace v8::internal
5735 5735
5736 #endif // V8_TARGET_ARCH_X64 5736 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698