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

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

Issue 1559473002: PPC: [runtime] Introduce dedicated JSBoundFunction to represent bound functions. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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 1303 matching lines...) Expand 10 before | Expand all | Expand 10 after
1314 #endif 1314 #endif
1315 1315
1316 // Abort execution if argument is not a string, enabled via --debug-code. 1316 // Abort execution if argument is not a string, enabled via --debug-code.
1317 void AssertString(Register object); 1317 void AssertString(Register object);
1318 1318
1319 // Abort execution if argument is not a name, enabled via --debug-code. 1319 // Abort execution if argument is not a name, enabled via --debug-code.
1320 void AssertName(Register object); 1320 void AssertName(Register object);
1321 1321
1322 void AssertFunction(Register object); 1322 void AssertFunction(Register object);
1323 1323
1324 // Abort execution if argument is not a JSBoundFunction,
1325 // enabled via --debug-code.
1326 void AssertBoundFunction(Register object);
1327
1324 // Abort execution if argument is not undefined or an AllocationSite, enabled 1328 // Abort execution if argument is not undefined or an AllocationSite, enabled
1325 // via --debug-code. 1329 // via --debug-code.
1326 void AssertUndefinedOrAllocationSite(Register object, Register scratch); 1330 void AssertUndefinedOrAllocationSite(Register object, Register scratch);
1327 1331
1328 // Abort execution if reg is not the root value with the given index, 1332 // Abort execution if reg is not the root value with the given index,
1329 // enabled via --debug-code. 1333 // enabled via --debug-code.
1330 void AssertIsRoot(Register reg, Heap::RootListIndex index); 1334 void AssertIsRoot(Register reg, Heap::RootListIndex index);
1331 1335
1332 // --------------------------------------------------------------------------- 1336 // ---------------------------------------------------------------------------
1333 // HeapNumber utilities 1337 // HeapNumber utilities
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
1576 #define ACCESS_MASM(masm) \ 1580 #define ACCESS_MASM(masm) \
1577 masm->stop(__FILE_LINE__); \ 1581 masm->stop(__FILE_LINE__); \
1578 masm-> 1582 masm->
1579 #else 1583 #else
1580 #define ACCESS_MASM(masm) masm-> 1584 #define ACCESS_MASM(masm) masm->
1581 #endif 1585 #endif
1582 } // namespace internal 1586 } // namespace internal
1583 } // namespace v8 1587 } // namespace v8
1584 1588
1585 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_ 1589 #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