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

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

Issue 1552473002: Revert of [runtime] Introduce dedicated JSBoundFunction to represent bound functions. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@FunctionConstructor
Patch Set: Created 4 years, 12 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/mips/code-stubs-mips.cc ('k') | src/mips/macro-assembler-mips.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_MIPS_MACRO_ASSEMBLER_MIPS_H_ 5 #ifndef V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/globals.h" 9 #include "src/globals.h"
10 #include "src/mips/assembler-mips.h" 10 #include "src/mips/assembler-mips.h"
(...skipping 1458 matching lines...) Expand 10 before | Expand all | Expand 10 after
1469 1469
1470 // Abort execution if argument is not a string, enabled via --debug-code. 1470 // Abort execution if argument is not a string, enabled via --debug-code.
1471 void AssertString(Register object); 1471 void AssertString(Register object);
1472 1472
1473 // Abort execution if argument is not a name, enabled via --debug-code. 1473 // Abort execution if argument is not a name, enabled via --debug-code.
1474 void AssertName(Register object); 1474 void AssertName(Register object);
1475 1475
1476 // Abort execution if argument is not a JSFunction, enabled via --debug-code. 1476 // Abort execution if argument is not a JSFunction, enabled via --debug-code.
1477 void AssertFunction(Register object); 1477 void AssertFunction(Register object);
1478 1478
1479 // Abort execution if argument is not a JSBoundFunction,
1480 // enabled via --debug-code.
1481 void AssertBoundFunction(Register object);
1482
1483 // Abort execution if argument is not undefined or an AllocationSite, enabled 1479 // Abort execution if argument is not undefined or an AllocationSite, enabled
1484 // via --debug-code. 1480 // via --debug-code.
1485 void AssertUndefinedOrAllocationSite(Register object, Register scratch); 1481 void AssertUndefinedOrAllocationSite(Register object, Register scratch);
1486 1482
1487 // Abort execution if reg is not the root value with the given index, 1483 // Abort execution if reg is not the root value with the given index,
1488 // enabled via --debug-code. 1484 // enabled via --debug-code.
1489 void AssertIsRoot(Register reg, Heap::RootListIndex index); 1485 void AssertIsRoot(Register reg, Heap::RootListIndex index);
1490 1486
1491 // --------------------------------------------------------------------------- 1487 // ---------------------------------------------------------------------------
1492 // HeapNumber utilities. 1488 // HeapNumber utilities.
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
1751 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1747 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1752 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1748 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1753 #else 1749 #else
1754 #define ACCESS_MASM(masm) masm-> 1750 #define ACCESS_MASM(masm) masm->
1755 #endif 1751 #endif
1756 1752
1757 } // namespace internal 1753 } // namespace internal
1758 } // namespace v8 1754 } // namespace v8
1759 1755
1760 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1756 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/code-stubs-mips.cc ('k') | src/mips/macro-assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698