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

Side by Side Diff: src/ppc/macro-assembler-ppc.h

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/ppc/code-stubs-ppc.cc ('k') | src/ppc/macro-assembler-ppc.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 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 #ifndef V8_PPC_MACRO_ASSEMBLER_PPC_H_ 5 #ifndef V8_PPC_MACRO_ASSEMBLER_PPC_H_
6 #define V8_PPC_MACRO_ASSEMBLER_PPC_H_ 6 #define V8_PPC_MACRO_ASSEMBLER_PPC_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/bailout-reason.h" 9 #include "src/bailout-reason.h"
10 #include "src/frames.h" 10 #include "src/frames.h"
(...skipping 1425 matching lines...) Expand 10 before | Expand all | Expand 10 after
1436 1436
1437 // Load the type feedback vector from a JavaScript frame. 1437 // Load the type feedback vector from a JavaScript frame.
1438 void EmitLoadTypeFeedbackVector(Register vector); 1438 void EmitLoadTypeFeedbackVector(Register vector);
1439 1439
1440 // Activation support. 1440 // Activation support.
1441 void EnterFrame(StackFrame::Type type, 1441 void EnterFrame(StackFrame::Type type,
1442 bool load_constant_pool_pointer_reg = false); 1442 bool load_constant_pool_pointer_reg = false);
1443 // Returns the pc offset at which the frame ends. 1443 // Returns the pc offset at which the frame ends.
1444 int LeaveFrame(StackFrame::Type type, int stack_adjustment = 0); 1444 int LeaveFrame(StackFrame::Type type, int stack_adjustment = 0);
1445 1445
1446 // Expects object in r0 and returns map with validated enum cache 1446 // Expects object in r3 and returns map with validated enum cache
1447 // in r0. Assumes that any other register can be used as a scratch. 1447 // in r3. Assumes that any other register can be used as a scratch.
1448 void CheckEnumCache(Register null_value, Label* call_runtime); 1448 void CheckEnumCache(Label* call_runtime);
1449 1449
1450 // AllocationMemento support. Arrays may have an associated 1450 // AllocationMemento support. Arrays may have an associated
1451 // AllocationMemento object that can be checked for in order to pretransition 1451 // AllocationMemento object that can be checked for in order to pretransition
1452 // to another type. 1452 // to another type.
1453 // On entry, receiver_reg should point to the array object. 1453 // On entry, receiver_reg should point to the array object.
1454 // scratch_reg gets clobbered. 1454 // scratch_reg gets clobbered.
1455 // If allocation info is present, condition flags are set to eq. 1455 // If allocation info is present, condition flags are set to eq.
1456 void TestJSArrayForAllocationMemento(Register receiver_reg, 1456 void TestJSArrayForAllocationMemento(Register receiver_reg,
1457 Register scratch_reg, 1457 Register scratch_reg,
1458 Label* no_memento_found); 1458 Label* no_memento_found);
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
1584 #define ACCESS_MASM(masm) \ 1584 #define ACCESS_MASM(masm) \
1585 masm->stop(__FILE_LINE__); \ 1585 masm->stop(__FILE_LINE__); \
1586 masm-> 1586 masm->
1587 #else 1587 #else
1588 #define ACCESS_MASM(masm) masm-> 1588 #define ACCESS_MASM(masm) masm->
1589 #endif 1589 #endif
1590 } // namespace internal 1590 } // namespace internal
1591 } // namespace v8 1591 } // namespace v8
1592 1592
1593 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_ 1593 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_
OLDNEW
« no previous file with comments | « src/ppc/code-stubs-ppc.cc ('k') | src/ppc/macro-assembler-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698