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

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

Issue 1496503002: [runtime] [proxy] removing JSFunctionProxy and related code. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: doh 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 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_IA32 5 #if V8_TARGET_ARCH_IA32
6 6
7 #include "src/crankshaft/ia32/lithium-codegen-ia32.h" 7 #include "src/crankshaft/ia32/lithium-codegen-ia32.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 5407 matching lines...) Expand 10 before | Expand all | Expand 10 after
5418 5418
5419 GenerateOsrPrologue(); 5419 GenerateOsrPrologue();
5420 } 5420 }
5421 5421
5422 5422
5423 void LCodeGen::DoForInPrepareMap(LForInPrepareMap* instr) { 5423 void LCodeGen::DoForInPrepareMap(LForInPrepareMap* instr) {
5424 DCHECK(ToRegister(instr->context()).is(esi)); 5424 DCHECK(ToRegister(instr->context()).is(esi));
5425 __ test(eax, Immediate(kSmiTagMask)); 5425 __ test(eax, Immediate(kSmiTagMask));
5426 DeoptimizeIf(zero, instr, Deoptimizer::kSmi); 5426 DeoptimizeIf(zero, instr, Deoptimizer::kSmi);
5427 5427
5428 STATIC_ASSERT(FIRST_JS_PROXY_TYPE == FIRST_JS_RECEIVER_TYPE); 5428 STATIC_ASSERT(JS_PROXY_TYPE == FIRST_JS_RECEIVER_TYPE);
5429 __ CmpObjectType(eax, LAST_JS_PROXY_TYPE, ecx); 5429 __ CmpObjectType(eax, JS_PROXY_TYPE, ecx);
5430 DeoptimizeIf(below_equal, instr, Deoptimizer::kWrongInstanceType); 5430 DeoptimizeIf(below_equal, instr, Deoptimizer::kWrongInstanceType);
Toon Verwaest 2015/12/03 11:48:41 equal
5431 5431
5432 Label use_cache, call_runtime; 5432 Label use_cache, call_runtime;
5433 __ CheckEnumCache(&call_runtime); 5433 __ CheckEnumCache(&call_runtime);
5434 5434
5435 __ mov(eax, FieldOperand(eax, HeapObject::kMapOffset)); 5435 __ mov(eax, FieldOperand(eax, HeapObject::kMapOffset));
5436 __ jmp(&use_cache, Label::kNear); 5436 __ jmp(&use_cache, Label::kNear);
5437 5437
5438 // Get the set of properties to enumerate. 5438 // Get the set of properties to enumerate.
5439 __ bind(&call_runtime); 5439 __ bind(&call_runtime);
5440 __ push(eax); 5440 __ push(eax);
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
5562 RecordSafepoint(Safepoint::kNoLazyDeopt); 5562 RecordSafepoint(Safepoint::kNoLazyDeopt);
5563 } 5563 }
5564 5564
5565 5565
5566 #undef __ 5566 #undef __
5567 5567
5568 } // namespace internal 5568 } // namespace internal
5569 } // namespace v8 5569 } // namespace v8
5570 5570
5571 #endif // V8_TARGET_ARCH_IA32 5571 #endif // V8_TARGET_ARCH_IA32
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698