| OLD | NEW |
| 1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 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_CODE_STUB_ASSEMBLER_H_ | 5 #ifndef V8_CODE_STUB_ASSEMBLER_H_ |
| 6 #define V8_CODE_STUB_ASSEMBLER_H_ | 6 #define V8_CODE_STUB_ASSEMBLER_H_ |
| 7 | 7 |
| 8 #include <functional> | 8 #include <functional> |
| 9 | 9 |
| 10 #include "src/compiler/code-assembler.h" | 10 #include "src/compiler/code-assembler.h" |
| (...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 605 char const* method_name); | 605 char const* method_name); |
| 606 | 606 |
| 607 // Type checks. | 607 // Type checks. |
| 608 // Check whether the map is for an object with special properties, such as a | 608 // Check whether the map is for an object with special properties, such as a |
| 609 // JSProxy or an object with interceptors. | 609 // JSProxy or an object with interceptors. |
| 610 compiler::Node* IsSpecialReceiverMap(compiler::Node* map); | 610 compiler::Node* IsSpecialReceiverMap(compiler::Node* map); |
| 611 compiler::Node* IsSpecialReceiverInstanceType(compiler::Node* instance_type); | 611 compiler::Node* IsSpecialReceiverInstanceType(compiler::Node* instance_type); |
| 612 compiler::Node* IsStringInstanceType(compiler::Node* instance_type); | 612 compiler::Node* IsStringInstanceType(compiler::Node* instance_type); |
| 613 compiler::Node* IsString(compiler::Node* object); | 613 compiler::Node* IsString(compiler::Node* object); |
| 614 compiler::Node* IsJSObject(compiler::Node* object); | 614 compiler::Node* IsJSObject(compiler::Node* object); |
| 615 compiler::Node* IsJSGlobalProxy(compiler::Node* object); |
| 615 compiler::Node* IsJSReceiverInstanceType(compiler::Node* instance_type); | 616 compiler::Node* IsJSReceiverInstanceType(compiler::Node* instance_type); |
| 616 compiler::Node* IsJSReceiver(compiler::Node* object); | 617 compiler::Node* IsJSReceiver(compiler::Node* object); |
| 617 compiler::Node* IsMap(compiler::Node* object); | 618 compiler::Node* IsMap(compiler::Node* object); |
| 618 compiler::Node* IsCallableMap(compiler::Node* map); | 619 compiler::Node* IsCallableMap(compiler::Node* map); |
| 619 compiler::Node* IsName(compiler::Node* object); | 620 compiler::Node* IsName(compiler::Node* object); |
| 620 compiler::Node* IsJSValue(compiler::Node* object); | 621 compiler::Node* IsJSValue(compiler::Node* object); |
| 621 compiler::Node* IsJSArray(compiler::Node* object); | 622 compiler::Node* IsJSArray(compiler::Node* object); |
| 622 compiler::Node* IsNativeContext(compiler::Node* object); | 623 compiler::Node* IsNativeContext(compiler::Node* object); |
| 623 compiler::Node* IsWeakCell(compiler::Node* object); | 624 compiler::Node* IsWeakCell(compiler::Node* object); |
| 624 compiler::Node* IsFixedDoubleArray(compiler::Node* object); | 625 compiler::Node* IsFixedDoubleArray(compiler::Node* object); |
| (...skipping 640 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1265 } | 1266 } |
| 1266 #else | 1267 #else |
| 1267 #define CSA_SLOW_ASSERT(x) | 1268 #define CSA_SLOW_ASSERT(x) |
| 1268 #endif | 1269 #endif |
| 1269 | 1270 |
| 1270 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); | 1271 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); |
| 1271 | 1272 |
| 1272 } // namespace internal | 1273 } // namespace internal |
| 1273 } // namespace v8 | 1274 } // namespace v8 |
| 1274 #endif // V8_CODE_STUB_ASSEMBLER_H_ | 1275 #endif // V8_CODE_STUB_ASSEMBLER_H_ |
| OLD | NEW |