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

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

Issue 1381803002: PPC: Full code shouldn't embed the type feedback vector. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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 1398 matching lines...) Expand 10 before | Expand all | Expand 10 after
1409 rlwinm(dst, src, rotate, kBitsPerPointer - start - 1, 1409 rlwinm(dst, src, rotate, kBitsPerPointer - start - 1,
1410 kBitsPerPointer - end - 1); 1410 kBitsPerPointer - end - 1);
1411 #endif 1411 #endif
1412 } 1412 }
1413 1413
1414 template <typename Field> 1414 template <typename Field>
1415 void DecodeFieldToSmi(Register reg) { 1415 void DecodeFieldToSmi(Register reg) {
1416 DecodeFieldToSmi<Field>(reg, reg); 1416 DecodeFieldToSmi<Field>(reg, reg);
1417 } 1417 }
1418 1418
1419 // Load the type feedback vector from a JavaScript frame.
1420 void EmitLoadTypeFeedbackVector(Register vector);
1421
1419 // Activation support. 1422 // Activation support.
1420 void EnterFrame(StackFrame::Type type, 1423 void EnterFrame(StackFrame::Type type,
1421 bool load_constant_pool_pointer_reg = false); 1424 bool load_constant_pool_pointer_reg = false);
1422 // Returns the pc offset at which the frame ends. 1425 // Returns the pc offset at which the frame ends.
1423 int LeaveFrame(StackFrame::Type type, int stack_adjustment = 0); 1426 int LeaveFrame(StackFrame::Type type, int stack_adjustment = 0);
1424 1427
1425 // Expects object in r0 and returns map with validated enum cache 1428 // Expects object in r0 and returns map with validated enum cache
1426 // in r0. Assumes that any other register can be used as a scratch. 1429 // in r0. Assumes that any other register can be used as a scratch.
1427 void CheckEnumCache(Register null_value, Label* call_runtime); 1430 void CheckEnumCache(Register null_value, Label* call_runtime);
1428 1431
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
1563 #define ACCESS_MASM(masm) \ 1566 #define ACCESS_MASM(masm) \
1564 masm->stop(__FILE_LINE__); \ 1567 masm->stop(__FILE_LINE__); \
1565 masm-> 1568 masm->
1566 #else 1569 #else
1567 #define ACCESS_MASM(masm) masm-> 1570 #define ACCESS_MASM(masm) masm->
1568 #endif 1571 #endif
1569 } // namespace internal 1572 } // namespace internal
1570 } // namespace v8 1573 } // namespace v8
1571 1574
1572 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_ 1575 #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