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

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

Issue 2932833002: PPC/s390: [builtins] Start refactoring the Apply builtin. (Closed)
Patch Set: s390 port Created 3 years, 6 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/interface-descriptors-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 1285 matching lines...) Expand 10 before | Expand all | Expand 10 after
1296 // upper half of the smi. 1296 // upper half of the smi.
1297 STATIC_ASSERT(kSmiTag == 0); 1297 STATIC_ASSERT(kSmiTag == 0);
1298 STATIC_ASSERT(kSmiTagSize + kSmiShiftSize == 32); 1298 STATIC_ASSERT(kSmiTagSize + kSmiShiftSize == 32);
1299 #endif 1299 #endif
1300 #if V8_TARGET_ARCH_PPC64 && V8_TARGET_LITTLE_ENDIAN 1300 #if V8_TARGET_ARCH_PPC64 && V8_TARGET_LITTLE_ENDIAN
1301 #define SmiWordOffset(offset) (offset + kPointerSize / 2) 1301 #define SmiWordOffset(offset) (offset + kPointerSize / 2)
1302 #else 1302 #else
1303 #define SmiWordOffset(offset) offset 1303 #define SmiWordOffset(offset) offset
1304 #endif 1304 #endif
1305 1305
1306 // Abort execution if argument is not a FixedArray, enabled via --debug-code.
1307 void AssertFixedArray(Register object);
1308
1306 void AssertFunction(Register object); 1309 void AssertFunction(Register object);
1307 1310
1308 // Abort execution if argument is not a JSBoundFunction, 1311 // Abort execution if argument is not a JSBoundFunction,
1309 // enabled via --debug-code. 1312 // enabled via --debug-code.
1310 void AssertBoundFunction(Register object); 1313 void AssertBoundFunction(Register object);
1311 1314
1312 // Abort execution if argument is not a JSGeneratorObject, 1315 // Abort execution if argument is not a JSGeneratorObject,
1313 // enabled via --debug-code. 1316 // enabled via --debug-code.
1314 void AssertGeneratorObject(Register object, Register suspend_flags); 1317 void AssertGeneratorObject(Register object, Register suspend_flags);
1315 1318
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
1540 inline MemOperand NativeContextMemOperand() { 1543 inline MemOperand NativeContextMemOperand() {
1541 return ContextMemOperand(cp, Context::NATIVE_CONTEXT_INDEX); 1544 return ContextMemOperand(cp, Context::NATIVE_CONTEXT_INDEX);
1542 } 1545 }
1543 1546
1544 #define ACCESS_MASM(masm) masm-> 1547 #define ACCESS_MASM(masm) masm->
1545 1548
1546 } // namespace internal 1549 } // namespace internal
1547 } // namespace v8 1550 } // namespace v8
1548 1551
1549 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_ 1552 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_
OLDNEW
« no previous file with comments | « src/ppc/interface-descriptors-ppc.cc ('k') | src/ppc/macro-assembler-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698