Chromium Code Reviews| Index: src/objects.h |
| =================================================================== |
| --- src/objects.h (revision 8285) |
| +++ src/objects.h (working copy) |
| @@ -4597,6 +4597,13 @@ |
| inline bool native(); |
| inline void set_native(bool value); |
| + // Indicates whether the function is a native function. |
|
Lasse Reichstein
2011/06/15 09:48:54
Comment is a copy of the one for native(). It need
Rico
2011/06/15 10:34:45
Done.
|
| + // These needs special threatment in .call and .apply since |
| + // null passed as the receiver should not be translated to the |
| + // global object. |
| + inline bool bound(); |
| + inline void set_bound(bool value); |
| + |
| // Indicates whether or not the code in the shared function support |
| // deoptimization. |
| inline bool has_deoptimization_support(); |
| @@ -4783,6 +4790,7 @@ |
| static const int kOptimizationDisabled = 6; |
| static const int kStrictModeFunction = 7; |
| static const int kNative = 8; |
| + static const int kBoundFunction = 9; |
| private: |
| #if V8_HOST_ARCH_32_BIT |