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

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

Issue 2141723003: PPC/s390: [builtins] Construct builtin frame in String/Number ctors (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fixed Load instr, don't have to update sp Created 4 years, 5 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/builtins-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 1508 matching lines...) Expand 10 before | Expand all | Expand 10 after
1519 1519
1520 // Load the type feedback vector from a JavaScript frame. 1520 // Load the type feedback vector from a JavaScript frame.
1521 void EmitLoadTypeFeedbackVector(Register vector); 1521 void EmitLoadTypeFeedbackVector(Register vector);
1522 1522
1523 // Activation support. 1523 // Activation support.
1524 void EnterFrame(StackFrame::Type type, 1524 void EnterFrame(StackFrame::Type type,
1525 bool load_constant_pool_pointer_reg = false); 1525 bool load_constant_pool_pointer_reg = false);
1526 // Returns the pc offset at which the frame ends. 1526 // Returns the pc offset at which the frame ends.
1527 int LeaveFrame(StackFrame::Type type, int stack_adjustment = 0); 1527 int LeaveFrame(StackFrame::Type type, int stack_adjustment = 0);
1528 1528
1529 void EnterBuiltinFrame(Register context, Register target, Register argc);
1530 void LeaveBuiltinFrame(Register context, Register target, Register argc);
1531
1529 // Expects object in r3 and returns map with validated enum cache 1532 // Expects object in r3 and returns map with validated enum cache
1530 // in r3. Assumes that any other register can be used as a scratch. 1533 // in r3. Assumes that any other register can be used as a scratch.
1531 void CheckEnumCache(Label* call_runtime); 1534 void CheckEnumCache(Label* call_runtime);
1532 1535
1533 // AllocationMemento support. Arrays may have an associated 1536 // AllocationMemento support. Arrays may have an associated
1534 // AllocationMemento object that can be checked for in order to pretransition 1537 // AllocationMemento object that can be checked for in order to pretransition
1535 // to another type. 1538 // to another type.
1536 // On entry, receiver_reg should point to the array object. 1539 // On entry, receiver_reg should point to the array object.
1537 // scratch_reg gets clobbered. 1540 // scratch_reg gets clobbered.
1538 // If allocation info is present, condition flags are set to eq. 1541 // If allocation info is present, condition flags are set to eq.
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
1669 #define ACCESS_MASM(masm) \ 1672 #define ACCESS_MASM(masm) \
1670 masm->stop(__FILE_LINE__); \ 1673 masm->stop(__FILE_LINE__); \
1671 masm-> 1674 masm->
1672 #else 1675 #else
1673 #define ACCESS_MASM(masm) masm-> 1676 #define ACCESS_MASM(masm) masm->
1674 #endif 1677 #endif
1675 } // namespace internal 1678 } // namespace internal
1676 } // namespace v8 1679 } // namespace v8
1677 1680
1678 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_ 1681 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_
OLDNEW
« no previous file with comments | « src/ppc/builtins-ppc.cc ('k') | src/ppc/macro-assembler-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698