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

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

Issue 426233002: Land the Fan (disabled) (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Review feedback, rebase and "git cl format" Created 6 years, 4 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/arm/lithium-arm.cc ('k') | src/arm/macro-assembler-arm.h » ('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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/arm/lithium-codegen-arm.h" 7 #include "src/arm/lithium-codegen-arm.h"
8 #include "src/arm/lithium-gap-resolver-arm.h" 8 #include "src/arm/lithium-gap-resolver-arm.h"
9 #include "src/code-stubs.h" 9 #include "src/code-stubs.h"
10 #include "src/hydrogen-osr.h" 10 #include "src/hydrogen-osr.h"
(...skipping 914 matching lines...) Expand 10 before | Expand all | Expand 10 after
925 ? Deoptimizer::LAZY 925 ? Deoptimizer::LAZY
926 : Deoptimizer::EAGER; 926 : Deoptimizer::EAGER;
927 DeoptimizeIf(condition, environment, bailout_type); 927 DeoptimizeIf(condition, environment, bailout_type);
928 } 928 }
929 929
930 930
931 void LCodeGen::PopulateDeoptimizationData(Handle<Code> code) { 931 void LCodeGen::PopulateDeoptimizationData(Handle<Code> code) {
932 int length = deoptimizations_.length(); 932 int length = deoptimizations_.length();
933 if (length == 0) return; 933 if (length == 0) return;
934 Handle<DeoptimizationInputData> data = 934 Handle<DeoptimizationInputData> data =
935 DeoptimizationInputData::New(isolate(), length, TENURED); 935 DeoptimizationInputData::New(isolate(), length, 0, TENURED);
936 936
937 Handle<ByteArray> translations = 937 Handle<ByteArray> translations =
938 translations_.CreateByteArray(isolate()->factory()); 938 translations_.CreateByteArray(isolate()->factory());
939 data->SetTranslationByteArray(*translations); 939 data->SetTranslationByteArray(*translations);
940 data->SetInlinedFunctionCount(Smi::FromInt(inlined_function_count_)); 940 data->SetInlinedFunctionCount(Smi::FromInt(inlined_function_count_));
941 data->SetOptimizationId(Smi::FromInt(info_->optimization_id())); 941 data->SetOptimizationId(Smi::FromInt(info_->optimization_id()));
942 if (info_->IsOptimizing()) { 942 if (info_->IsOptimizing()) {
943 // Reference to shared function info does not change between phases. 943 // Reference to shared function info does not change between phases.
944 AllowDeferredHandleDereference allow_handle_dereference; 944 AllowDeferredHandleDereference allow_handle_dereference;
945 data->SetSharedFunctionInfo(*info_->shared_info()); 945 data->SetSharedFunctionInfo(*info_->shared_info());
(...skipping 4936 matching lines...) Expand 10 before | Expand all | Expand 10 after
5882 __ Push(scope_info); 5882 __ Push(scope_info);
5883 __ push(ToRegister(instr->function())); 5883 __ push(ToRegister(instr->function()));
5884 CallRuntime(Runtime::kPushBlockContext, 2, instr); 5884 CallRuntime(Runtime::kPushBlockContext, 2, instr);
5885 RecordSafepoint(Safepoint::kNoLazyDeopt); 5885 RecordSafepoint(Safepoint::kNoLazyDeopt);
5886 } 5886 }
5887 5887
5888 5888
5889 #undef __ 5889 #undef __
5890 5890
5891 } } // namespace v8::internal 5891 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/lithium-arm.cc ('k') | src/arm/macro-assembler-arm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698