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

Side by Side Diff: src/crankshaft/ppc/lithium-codegen-ppc.cc

Issue 1496503002: [runtime] [proxy] removing JSFunctionProxy and related code. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fixing merge artifacts Created 5 years 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
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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/crankshaft/ppc/lithium-codegen-ppc.h" 5 #include "src/crankshaft/ppc/lithium-codegen-ppc.h"
6 6
7 #include "src/base/bits.h" 7 #include "src/base/bits.h"
8 #include "src/code-factory.h" 8 #include "src/code-factory.h"
9 #include "src/code-stubs.h" 9 #include "src/code-stubs.h"
10 #include "src/crankshaft/hydrogen-osr.h" 10 #include "src/crankshaft/hydrogen-osr.h"
(...skipping 5814 matching lines...) Expand 10 before | Expand all | Expand 10 after
5825 RegisterEnvironmentForDeoptimization(environment, Safepoint::kNoLazyDeopt); 5825 RegisterEnvironmentForDeoptimization(environment, Safepoint::kNoLazyDeopt);
5826 5826
5827 GenerateOsrPrologue(); 5827 GenerateOsrPrologue();
5828 } 5828 }
5829 5829
5830 5830
5831 void LCodeGen::DoForInPrepareMap(LForInPrepareMap* instr) { 5831 void LCodeGen::DoForInPrepareMap(LForInPrepareMap* instr) {
5832 __ TestIfSmi(r3, r0); 5832 __ TestIfSmi(r3, r0);
5833 DeoptimizeIf(eq, instr, Deoptimizer::kSmi, cr0); 5833 DeoptimizeIf(eq, instr, Deoptimizer::kSmi, cr0);
5834 5834
5835 STATIC_ASSERT(FIRST_JS_PROXY_TYPE == FIRST_JS_RECEIVER_TYPE); 5835 STATIC_ASSERT(JS_PROXY_TYPE == FIRST_JS_RECEIVER_TYPE);
5836 __ CompareObjectType(r3, r4, r4, LAST_JS_PROXY_TYPE); 5836 __ CompareObjectType(r3, r4, r4, JS_PROXY_TYPE);
5837 DeoptimizeIf(le, instr, Deoptimizer::kWrongInstanceType); 5837 DeoptimizeIf(le, instr, Deoptimizer::kWrongInstanceType);
5838 5838
5839 Label use_cache, call_runtime; 5839 Label use_cache, call_runtime;
5840 Register null_value = r8; 5840 Register null_value = r8;
5841 __ LoadRoot(null_value, Heap::kNullValueRootIndex); 5841 __ LoadRoot(null_value, Heap::kNullValueRootIndex);
5842 __ CheckEnumCache(null_value, &call_runtime); 5842 __ CheckEnumCache(null_value, &call_runtime);
5843 5843
5844 __ LoadP(r3, FieldMemOperand(r3, HeapObject::kMapOffset)); 5844 __ LoadP(r3, FieldMemOperand(r3, HeapObject::kMapOffset));
5845 __ b(&use_cache); 5845 __ b(&use_cache);
5846 5846
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
5969 __ Push(scope_info); 5969 __ Push(scope_info);
5970 __ push(ToRegister(instr->function())); 5970 __ push(ToRegister(instr->function()));
5971 CallRuntime(Runtime::kPushBlockContext, 2, instr); 5971 CallRuntime(Runtime::kPushBlockContext, 2, instr);
5972 RecordSafepoint(Safepoint::kNoLazyDeopt); 5972 RecordSafepoint(Safepoint::kNoLazyDeopt);
5973 } 5973 }
5974 5974
5975 5975
5976 #undef __ 5976 #undef __
5977 } // namespace internal 5977 } // namespace internal
5978 } // namespace v8 5978 } // namespace v8
OLDNEW
« no previous file with comments | « src/crankshaft/mips64/lithium-codegen-mips64.cc ('k') | src/crankshaft/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698