OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 1035 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1046 JSFunction* function); | 1046 JSFunction* function); |
1047 | 1047 |
1048 // Allocate a catch context. | 1048 // Allocate a catch context. |
1049 MUST_USE_RESULT MaybeObject* AllocateCatchContext(JSFunction* function, | 1049 MUST_USE_RESULT MaybeObject* AllocateCatchContext(JSFunction* function, |
1050 Context* previous, | 1050 Context* previous, |
1051 String* name, | 1051 String* name, |
1052 Object* thrown_object); | 1052 Object* thrown_object); |
1053 // Allocate a 'with' context. | 1053 // Allocate a 'with' context. |
1054 MUST_USE_RESULT MaybeObject* AllocateWithContext(JSFunction* function, | 1054 MUST_USE_RESULT MaybeObject* AllocateWithContext(JSFunction* function, |
1055 Context* previous, | 1055 Context* previous, |
1056 JSObject* extension); | 1056 JSReceiver* extension); |
1057 | 1057 |
1058 // Allocate a block context. | 1058 // Allocate a block context. |
1059 MUST_USE_RESULT MaybeObject* AllocateBlockContext(JSFunction* function, | 1059 MUST_USE_RESULT MaybeObject* AllocateBlockContext(JSFunction* function, |
1060 Context* previous, | 1060 Context* previous, |
1061 ScopeInfo* info); | 1061 ScopeInfo* info); |
1062 | 1062 |
1063 // Allocates a new utility object in the old generation. | 1063 // Allocates a new utility object in the old generation. |
1064 MUST_USE_RESULT MaybeObject* AllocateStruct(InstanceType type); | 1064 MUST_USE_RESULT MaybeObject* AllocateStruct(InstanceType type); |
1065 | 1065 |
1066 // Allocates a function initialized with a shared part. | 1066 // Allocates a function initialized with a shared part. |
(...skipping 2027 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3094 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. | 3094 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. |
3095 | 3095 |
3096 private: | 3096 private: |
3097 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 3097 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); |
3098 }; | 3098 }; |
3099 #endif // DEBUG | 3099 #endif // DEBUG |
3100 | 3100 |
3101 } } // namespace v8::internal | 3101 } } // namespace v8::internal |
3102 | 3102 |
3103 #endif // V8_HEAP_H_ | 3103 #endif // V8_HEAP_H_ |
OLD | NEW |