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

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

Issue 1708313002: [stubs] Introduce a dedicated FastNewObjectStub. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove TODO. Created 4 years, 10 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
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 1484 matching lines...) Expand 10 before | Expand all | Expand 10 after
1495 // Abort execution if argument is not a name, enabled via --debug-code. 1495 // Abort execution if argument is not a name, enabled via --debug-code.
1496 void AssertName(Register object); 1496 void AssertName(Register object);
1497 1497
1498 // Abort execution if argument is not a JSFunction, enabled via --debug-code. 1498 // Abort execution if argument is not a JSFunction, enabled via --debug-code.
1499 void AssertFunction(Register object); 1499 void AssertFunction(Register object);
1500 1500
1501 // Abort execution if argument is not a JSBoundFunction, 1501 // Abort execution if argument is not a JSBoundFunction,
1502 // enabled via --debug-code. 1502 // enabled via --debug-code.
1503 void AssertBoundFunction(Register object); 1503 void AssertBoundFunction(Register object);
1504 1504
1505 // Abort execution if argument is not a JSReceiver, enabled via --debug-code.
1506 void AssertReceiver(Register object);
1507
1505 // Abort execution if argument is not undefined or an AllocationSite, enabled 1508 // Abort execution if argument is not undefined or an AllocationSite, enabled
1506 // via --debug-code. 1509 // via --debug-code.
1507 void AssertUndefinedOrAllocationSite(Register object, Register scratch); 1510 void AssertUndefinedOrAllocationSite(Register object, Register scratch);
1508 1511
1509 // Abort execution if reg is not the root value with the given index, 1512 // Abort execution if reg is not the root value with the given index,
1510 // enabled via --debug-code. 1513 // enabled via --debug-code.
1511 void AssertIsRoot(Register reg, Heap::RootListIndex index); 1514 void AssertIsRoot(Register reg, Heap::RootListIndex index);
1512 1515
1513 // --------------------------------------------------------------------------- 1516 // ---------------------------------------------------------------------------
1514 // HeapNumber utilities. 1517 // HeapNumber utilities.
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
1794 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1797 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1795 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1798 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1796 #else 1799 #else
1797 #define ACCESS_MASM(masm) masm-> 1800 #define ACCESS_MASM(masm) masm->
1798 #endif 1801 #endif
1799 1802
1800 } // namespace internal 1803 } // namespace internal
1801 } // namespace v8 1804 } // namespace v8
1802 1805
1803 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1806 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698