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

Side by Side Diff: src/crankshaft/x64/lithium-codegen-x64.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/ppc/lithium-codegen-ppc.cc ('k') | src/crankshaft/x87/lithium-codegen-x87.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_X64 5 #if V8_TARGET_ARCH_X64
6 6
7 #include "src/crankshaft/x64/lithium-codegen-x64.h" 7 #include "src/crankshaft/x64/lithium-codegen-x64.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 5607 matching lines...) Expand 10 before | Expand all | Expand 10 after
5618 GenerateOsrPrologue(); 5618 GenerateOsrPrologue();
5619 } 5619 }
5620 5620
5621 5621
5622 void LCodeGen::DoForInPrepareMap(LForInPrepareMap* instr) { 5622 void LCodeGen::DoForInPrepareMap(LForInPrepareMap* instr) {
5623 DCHECK(ToRegister(instr->context()).is(rsi)); 5623 DCHECK(ToRegister(instr->context()).is(rsi));
5624 5624
5625 Condition cc = masm()->CheckSmi(rax); 5625 Condition cc = masm()->CheckSmi(rax);
5626 DeoptimizeIf(cc, instr, Deoptimizer::kSmi); 5626 DeoptimizeIf(cc, instr, Deoptimizer::kSmi);
5627 5627
5628 STATIC_ASSERT(FIRST_JS_PROXY_TYPE == FIRST_JS_RECEIVER_TYPE); 5628 STATIC_ASSERT(JS_PROXY_TYPE == FIRST_JS_RECEIVER_TYPE);
5629 __ CmpObjectType(rax, LAST_JS_PROXY_TYPE, rcx); 5629 __ CmpObjectType(rax, JS_PROXY_TYPE, rcx);
5630 DeoptimizeIf(below_equal, instr, Deoptimizer::kWrongInstanceType); 5630 DeoptimizeIf(below_equal, instr, Deoptimizer::kWrongInstanceType);
5631 5631
5632 Label use_cache, call_runtime; 5632 Label use_cache, call_runtime;
5633 Register null_value = rdi; 5633 Register null_value = rdi;
5634 __ LoadRoot(null_value, Heap::kNullValueRootIndex); 5634 __ LoadRoot(null_value, Heap::kNullValueRootIndex);
5635 __ CheckEnumCache(null_value, &call_runtime); 5635 __ CheckEnumCache(null_value, &call_runtime);
5636 5636
5637 __ movp(rax, FieldOperand(rax, HeapObject::kMapOffset)); 5637 __ movp(rax, FieldOperand(rax, HeapObject::kMapOffset));
5638 __ jmp(&use_cache, Label::kNear); 5638 __ jmp(&use_cache, Label::kNear);
5639 5639
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
5764 RecordSafepoint(Safepoint::kNoLazyDeopt); 5764 RecordSafepoint(Safepoint::kNoLazyDeopt);
5765 } 5765 }
5766 5766
5767 5767
5768 #undef __ 5768 #undef __
5769 5769
5770 } // namespace internal 5770 } // namespace internal
5771 } // namespace v8 5771 } // namespace v8
5772 5772
5773 #endif // V8_TARGET_ARCH_X64 5773 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/crankshaft/ppc/lithium-codegen-ppc.cc ('k') | src/crankshaft/x87/lithium-codegen-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698