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

Side by Side Diff: src/arm/lithium-codegen-arm.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/api.cc ('k') | src/arm64/lithium-codegen-arm64.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 899 matching lines...) Expand 10 before | Expand all | Expand 10 after
910 ? Deoptimizer::LAZY 910 ? Deoptimizer::LAZY
911 : Deoptimizer::EAGER; 911 : Deoptimizer::EAGER;
912 DeoptimizeIf(condition, environment, bailout_type); 912 DeoptimizeIf(condition, environment, bailout_type);
913 } 913 }
914 914
915 915
916 void LCodeGen::PopulateDeoptimizationData(Handle<Code> code) { 916 void LCodeGen::PopulateDeoptimizationData(Handle<Code> code) {
917 int length = deoptimizations_.length(); 917 int length = deoptimizations_.length();
918 if (length == 0) return; 918 if (length == 0) return;
919 Handle<DeoptimizationInputData> data = 919 Handle<DeoptimizationInputData> data =
920 factory()->NewDeoptimizationInputData(length, TENURED); 920 DeoptimizationInputData::New(isolate(), length, TENURED);
921 921
922 Handle<ByteArray> translations = 922 Handle<ByteArray> translations =
923 translations_.CreateByteArray(isolate()->factory()); 923 translations_.CreateByteArray(isolate()->factory());
924 data->SetTranslationByteArray(*translations); 924 data->SetTranslationByteArray(*translations);
925 data->SetInlinedFunctionCount(Smi::FromInt(inlined_function_count_)); 925 data->SetInlinedFunctionCount(Smi::FromInt(inlined_function_count_));
926 data->SetOptimizationId(Smi::FromInt(info_->optimization_id())); 926 data->SetOptimizationId(Smi::FromInt(info_->optimization_id()));
927 if (info_->IsOptimizing()) { 927 if (info_->IsOptimizing()) {
928 // Reference to shared function info does not change between phases. 928 // Reference to shared function info does not change between phases.
929 AllowDeferredHandleDereference allow_handle_dereference; 929 AllowDeferredHandleDereference allow_handle_dereference;
930 data->SetSharedFunctionInfo(*info_->shared_info()); 930 data->SetSharedFunctionInfo(*info_->shared_info());
(...skipping 4928 matching lines...) Expand 10 before | Expand all | Expand 10 after
5859 __ ldr(result, FieldMemOperand(scratch, 5859 __ ldr(result, FieldMemOperand(scratch,
5860 FixedArray::kHeaderSize - kPointerSize)); 5860 FixedArray::kHeaderSize - kPointerSize));
5861 __ bind(deferred->exit()); 5861 __ bind(deferred->exit());
5862 __ bind(&done); 5862 __ bind(&done);
5863 } 5863 }
5864 5864
5865 5865
5866 #undef __ 5866 #undef __
5867 5867
5868 } } // namespace v8::internal 5868 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/arm64/lithium-codegen-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698