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

Side by Side Diff: src/crankshaft/x87/lithium-codegen-x87.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
« no previous file with comments | « src/crankshaft/x64/lithium-codegen-x64.cc ('k') | src/factory.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 #if V8_TARGET_ARCH_X87 5 #if V8_TARGET_ARCH_X87
6 6
7 #include "src/crankshaft/x87/lithium-codegen-x87.h" 7 #include "src/crankshaft/x87/lithium-codegen-x87.h"
8 8
9 #include "src/base/bits.h" 9 #include "src/base/bits.h"
10 #include "src/code-factory.h" 10 #include "src/code-factory.h"
(...skipping 5969 matching lines...) Expand 10 before | Expand all | Expand 10 after
5980 5980
5981 GenerateOsrPrologue(); 5981 GenerateOsrPrologue();
5982 } 5982 }
5983 5983
5984 5984
5985 void LCodeGen::DoForInPrepareMap(LForInPrepareMap* instr) { 5985 void LCodeGen::DoForInPrepareMap(LForInPrepareMap* instr) {
5986 DCHECK(ToRegister(instr->context()).is(esi)); 5986 DCHECK(ToRegister(instr->context()).is(esi));
5987 __ test(eax, Immediate(kSmiTagMask)); 5987 __ test(eax, Immediate(kSmiTagMask));
5988 DeoptimizeIf(zero, instr, Deoptimizer::kSmi); 5988 DeoptimizeIf(zero, instr, Deoptimizer::kSmi);
5989 5989
5990 STATIC_ASSERT(FIRST_JS_PROXY_TYPE == FIRST_JS_RECEIVER_TYPE); 5990 STATIC_ASSERT(JS_PROXY_TYPE == FIRST_JS_RECEIVER_TYPE);
5991 __ CmpObjectType(eax, LAST_JS_PROXY_TYPE, ecx); 5991 __ CmpObjectType(eax, JS_PROXY_TYPE, ecx);
5992 DeoptimizeIf(below_equal, instr, Deoptimizer::kWrongInstanceType); 5992 DeoptimizeIf(below_equal, instr, Deoptimizer::kWrongInstanceType);
5993 5993
5994 Label use_cache, call_runtime; 5994 Label use_cache, call_runtime;
5995 __ CheckEnumCache(&call_runtime); 5995 __ CheckEnumCache(&call_runtime);
5996 5996
5997 __ mov(eax, FieldOperand(eax, HeapObject::kMapOffset)); 5997 __ mov(eax, FieldOperand(eax, HeapObject::kMapOffset));
5998 __ jmp(&use_cache, Label::kNear); 5998 __ jmp(&use_cache, Label::kNear);
5999 5999
6000 // Get the set of properties to enumerate. 6000 // Get the set of properties to enumerate.
6001 __ bind(&call_runtime); 6001 __ bind(&call_runtime);
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
6125 RecordSafepoint(Safepoint::kNoLazyDeopt); 6125 RecordSafepoint(Safepoint::kNoLazyDeopt);
6126 } 6126 }
6127 6127
6128 6128
6129 #undef __ 6129 #undef __
6130 6130
6131 } // namespace internal 6131 } // namespace internal
6132 } // namespace v8 6132 } // namespace v8
6133 6133
6134 #endif // V8_TARGET_ARCH_X87 6134 #endif // V8_TARGET_ARCH_X87
OLDNEW
« no previous file with comments | « src/crankshaft/x64/lithium-codegen-x64.cc ('k') | src/factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698