Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Side by Side Diff: src/factory.h

Issue 2302013002: Store the scope info in catch contexts (Closed)
Patch Set: updates Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/contexts.cc ('k') | src/factory.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 258
259 // Create a module context. 259 // Create a module context.
260 Handle<Context> NewModuleContext(Handle<ScopeInfo> scope_info); 260 Handle<Context> NewModuleContext(Handle<ScopeInfo> scope_info);
261 261
262 // Create a function context. 262 // Create a function context.
263 Handle<Context> NewFunctionContext(int length, Handle<JSFunction> function); 263 Handle<Context> NewFunctionContext(int length, Handle<JSFunction> function);
264 264
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<String> name, 269 Handle<String> name,
269 Handle<Object> thrown_object); 270 Handle<Object> thrown_object);
270 271
271 // Create a 'with' context. 272 // Create a 'with' context.
272 Handle<Context> NewWithContext(Handle<JSFunction> function, 273 Handle<Context> NewWithContext(Handle<JSFunction> function,
273 Handle<Context> previous, 274 Handle<Context> previous,
274 Handle<JSReceiver> extension); 275 Handle<JSReceiver> extension);
275 276
276 Handle<Context> NewDebugEvaluateContext(Handle<Context> previous, 277 Handle<Context> NewDebugEvaluateContext(Handle<Context> previous,
277 Handle<JSReceiver> extension, 278 Handle<JSReceiver> extension,
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after
754 FunctionMode function_mode); 755 FunctionMode function_mode);
755 756
756 void SetStrictFunctionInstanceDescriptor(Handle<Map> map, 757 void SetStrictFunctionInstanceDescriptor(Handle<Map> map,
757 FunctionMode function_mode); 758 FunctionMode function_mode);
758 }; 759 };
759 760
760 } // namespace internal 761 } // namespace internal
761 } // namespace v8 762 } // namespace v8
762 763
763 #endif // V8_FACTORY_H_ 764 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/contexts.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698