Chromium Code Reviews| Index: src/objects.h |
| diff --git a/src/objects.h b/src/objects.h |
| index 274f1dccae9ec19980bea3be09cced6db9b4ac1c..76168367ce42e17f5f9485bebedc526fbc22faf7 100644 |
| --- a/src/objects.h |
| +++ b/src/objects.h |
| @@ -3530,7 +3530,7 @@ class ScopeInfo : public FixedArray { |
| FOR_EACH_NUMERIC_FIELD(DECL_INDEX) |
| #undef DECL_INDEX |
| #undef FOR_EACH_NUMERIC_FIELD |
| - kVariablePartIndex |
| + kVariablePartIndex |
| }; |
| // The layout of the variable part of a ScopeInfo is as follows: |
| @@ -5555,6 +5555,9 @@ class SharedFunctionInfo: public HeapObject { |
| // Indicates that the function cannot be inlined. |
| DECL_BOOLEAN_ACCESSORS(dont_inline) |
| + // Indicates that code for this function cannot be cached. |
| + DECL_BOOLEAN_ACCESSORS(dont_cache) |
| + |
| // Indicates whether or not the code in the shared function support |
| // deoptimization. |
| inline bool has_deoptimization_support(); |
| @@ -5789,6 +5792,7 @@ class SharedFunctionInfo: public HeapObject { |
| kIsFunction, |
| kDontOptimize, |
| kDontInline, |
| + kDontCache, |
| kCompilerHintsCount // Pseudo entry |
| }; |
| @@ -5854,6 +5858,8 @@ class JSModule: public JSObject { |
| public: |
| // [context]: the context holding the module's locals, or undefined if none. |
| DECL_ACCESSORS(context, Object) |
| + // [scope_info]: Scope info. |
|
Michael Starzinger
2012/07/06 10:53:22
Empty newline between accessors.
rossberg
2012/07/06 15:39:28
Done.
|
| + DECL_ACCESSORS(scope_info, ScopeInfo) |
| // Casting. |
| static inline JSModule* cast(Object* obj); |
| @@ -5871,7 +5877,8 @@ class JSModule: public JSObject { |
| // Layout description. |
| static const int kContextOffset = JSObject::kHeaderSize; |
| - static const int kSize = kContextOffset + kPointerSize; |
| + static const int kScopeInfoOffset = kContextOffset + kPointerSize; |
| + static const int kSize = kScopeInfoOffset + kPointerSize; |
| private: |
| DISALLOW_IMPLICIT_CONSTRUCTORS(JSModule); |