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

Side by Side Diff: src/ppc/code-stubs-ppc.cc

Issue 1619643004: PPC: [for-in] Sanitize for-in optimizations and fix bailout points. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 4 years, 11 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
« no previous file with comments | « src/full-codegen/ppc/full-codegen-ppc.cc ('k') | src/ppc/macro-assembler-ppc.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 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 #if V8_TARGET_ARCH_PPC 5 #if V8_TARGET_ARCH_PPC
6 6
7 #include "src/base/bits.h" 7 #include "src/base/bits.h"
8 #include "src/bootstrapper.h" 8 #include "src/bootstrapper.h"
9 #include "src/code-stubs.h" 9 #include "src/code-stubs.h"
10 #include "src/codegen.h" 10 #include "src/codegen.h"
(...skipping 5579 matching lines...) Expand 10 before | Expand all | Expand 10 after
5590 // -- ... 5590 // -- ...
5591 // -- r5 : api_function_address 5591 // -- r5 : api_function_address
5592 // ----------------------------------- 5592 // -----------------------------------
5593 5593
5594 Register api_function_address = ApiGetterDescriptor::function_address(); 5594 Register api_function_address = ApiGetterDescriptor::function_address();
5595 int arg0Slot = 0; 5595 int arg0Slot = 0;
5596 int accessorInfoSlot = 0; 5596 int accessorInfoSlot = 0;
5597 int apiStackSpace = 0; 5597 int apiStackSpace = 0;
5598 DCHECK(api_function_address.is(r5)); 5598 DCHECK(api_function_address.is(r5));
5599 5599
5600 __ mr(r3, sp); // r0 = Handle<Name> 5600 __ mr(r3, sp); // r3 = Handle<Name>
5601 __ addi(r4, r3, Operand(1 * kPointerSize)); // r4 = PCA 5601 __ addi(r4, r3, Operand(1 * kPointerSize)); // r4 = PCA
5602 5602
5603 // If ABI passes Handles (pointer-sized struct) in a register: 5603 // If ABI passes Handles (pointer-sized struct) in a register:
5604 // 5604 //
5605 // Create 2 extra slots on stack: 5605 // Create 2 extra slots on stack:
5606 // [0] space for DirectCEntryStub's LR save 5606 // [0] space for DirectCEntryStub's LR save
5607 // [1] AccessorInfo& 5607 // [1] AccessorInfo&
5608 // 5608 //
5609 // Otherwise: 5609 // Otherwise:
5610 // 5610 //
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
5644 kStackUnwindSpace, NULL, 5644 kStackUnwindSpace, NULL,
5645 MemOperand(fp, 6 * kPointerSize), NULL); 5645 MemOperand(fp, 6 * kPointerSize), NULL);
5646 } 5646 }
5647 5647
5648 5648
5649 #undef __ 5649 #undef __
5650 } // namespace internal 5650 } // namespace internal
5651 } // namespace v8 5651 } // namespace v8
5652 5652
5653 #endif // V8_TARGET_ARCH_PPC 5653 #endif // V8_TARGET_ARCH_PPC
OLDNEW
« no previous file with comments | « src/full-codegen/ppc/full-codegen-ppc.cc ('k') | src/ppc/macro-assembler-ppc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698