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

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

Issue 1845753005: PPC: Remove usages of Heap::NewSpaceStart and its external reference (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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/codegen-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 1491 matching lines...) Expand 10 before | Expand all | Expand 10 after
1502 void CheckEnumCache(Label* call_runtime); 1502 void CheckEnumCache(Label* call_runtime);
1503 1503
1504 // AllocationMemento support. Arrays may have an associated 1504 // AllocationMemento support. Arrays may have an associated
1505 // AllocationMemento object that can be checked for in order to pretransition 1505 // AllocationMemento object that can be checked for in order to pretransition
1506 // to another type. 1506 // to another type.
1507 // On entry, receiver_reg should point to the array object. 1507 // On entry, receiver_reg should point to the array object.
1508 // scratch_reg gets clobbered. 1508 // scratch_reg gets clobbered.
1509 // If allocation info is present, condition flags are set to eq. 1509 // If allocation info is present, condition flags are set to eq.
1510 void TestJSArrayForAllocationMemento(Register receiver_reg, 1510 void TestJSArrayForAllocationMemento(Register receiver_reg,
1511 Register scratch_reg, 1511 Register scratch_reg,
1512 Register scratch2_reg,
1512 Label* no_memento_found); 1513 Label* no_memento_found);
1513 1514
1514 void JumpIfJSArrayHasAllocationMemento(Register receiver_reg, 1515 void JumpIfJSArrayHasAllocationMemento(Register receiver_reg,
1515 Register scratch_reg, 1516 Register scratch_reg,
1517 Register scratch2_reg,
1516 Label* memento_found) { 1518 Label* memento_found) {
1517 Label no_memento_found; 1519 Label no_memento_found;
1518 TestJSArrayForAllocationMemento(receiver_reg, scratch_reg, 1520 TestJSArrayForAllocationMemento(receiver_reg, scratch_reg, scratch2_reg,
1519 &no_memento_found); 1521 &no_memento_found);
1520 beq(memento_found); 1522 beq(memento_found);
1521 bind(&no_memento_found); 1523 bind(&no_memento_found);
1522 } 1524 }
1523 1525
1524 // Jumps to found label if a prototype map has dictionary elements. 1526 // Jumps to found label if a prototype map has dictionary elements.
1525 void JumpIfDictionaryInPrototypeChain(Register object, Register scratch0, 1527 void JumpIfDictionaryInPrototypeChain(Register object, Register scratch0,
1526 Register scratch1, Label* found); 1528 Register scratch1, Label* found);
1527 1529
1528 // Loads the constant pool pointer (kConstantPoolRegister). 1530 // Loads the constant pool pointer (kConstantPoolRegister).
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
1638 #define ACCESS_MASM(masm) \ 1640 #define ACCESS_MASM(masm) \
1639 masm->stop(__FILE_LINE__); \ 1641 masm->stop(__FILE_LINE__); \
1640 masm-> 1642 masm->
1641 #else 1643 #else
1642 #define ACCESS_MASM(masm) masm-> 1644 #define ACCESS_MASM(masm) masm->
1643 #endif 1645 #endif
1644 } // namespace internal 1646 } // namespace internal
1645 } // namespace v8 1647 } // namespace v8
1646 1648
1647 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_ 1649 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_
OLDNEW
« no previous file with comments | « src/ppc/codegen-ppc.cc ('k') | src/ppc/macro-assembler-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698