| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_FACTORY_H_ | 5 #ifndef V8_FACTORY_H_ |
| 6 #define V8_FACTORY_H_ | 6 #define V8_FACTORY_H_ |
| 7 | 7 |
| 8 #include "src/isolate.h" | 8 #include "src/isolate.h" |
| 9 #include "src/messages.h" | 9 #include "src/messages.h" |
| 10 #include "src/type-feedback-vector.h" | 10 #include "src/type-feedback-vector.h" |
| (...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 // Create a catch context. | 265 // Create a catch context. |
| 266 Handle<Context> NewCatchContext(Handle<JSFunction> function, | 266 Handle<Context> NewCatchContext(Handle<JSFunction> function, |
| 267 Handle<Context> previous, | 267 Handle<Context> previous, |
| 268 Handle<ScopeInfo> scope_info, | 268 Handle<ScopeInfo> scope_info, |
| 269 Handle<String> name, | 269 Handle<String> name, |
| 270 Handle<Object> thrown_object); | 270 Handle<Object> thrown_object); |
| 271 | 271 |
| 272 // Create a 'with' context. | 272 // Create a 'with' context. |
| 273 Handle<Context> NewWithContext(Handle<JSFunction> function, | 273 Handle<Context> NewWithContext(Handle<JSFunction> function, |
| 274 Handle<Context> previous, | 274 Handle<Context> previous, |
| 275 Handle<ScopeInfo> scope_info, |
| 275 Handle<JSReceiver> extension); | 276 Handle<JSReceiver> extension); |
| 276 | 277 |
| 277 Handle<Context> NewDebugEvaluateContext(Handle<Context> previous, | 278 Handle<Context> NewDebugEvaluateContext(Handle<Context> previous, |
| 279 Handle<ScopeInfo> scope_info, |
| 278 Handle<JSReceiver> extension, | 280 Handle<JSReceiver> extension, |
| 279 Handle<Context> wrapped, | 281 Handle<Context> wrapped, |
| 280 Handle<StringSet> whitelist); | 282 Handle<StringSet> whitelist); |
| 281 | 283 |
| 282 // Create a block context. | 284 // Create a block context. |
| 283 Handle<Context> NewBlockContext(Handle<JSFunction> function, | 285 Handle<Context> NewBlockContext(Handle<JSFunction> function, |
| 284 Handle<Context> previous, | 286 Handle<Context> previous, |
| 285 Handle<ScopeInfo> scope_info); | 287 Handle<ScopeInfo> scope_info); |
| 286 | 288 |
| 287 // Allocate a new struct. The struct is pretenured (allocated directly in | 289 // Allocate a new struct. The struct is pretenured (allocated directly in |
| (...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 755 FunctionMode function_mode); | 757 FunctionMode function_mode); |
| 756 | 758 |
| 757 void SetStrictFunctionInstanceDescriptor(Handle<Map> map, | 759 void SetStrictFunctionInstanceDescriptor(Handle<Map> map, |
| 758 FunctionMode function_mode); | 760 FunctionMode function_mode); |
| 759 }; | 761 }; |
| 760 | 762 |
| 761 } // namespace internal | 763 } // namespace internal |
| 762 } // namespace v8 | 764 } // namespace v8 |
| 763 | 765 |
| 764 #endif // V8_FACTORY_H_ | 766 #endif // V8_FACTORY_H_ |
| OLD | NEW |