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

Side by Side Diff: src/factory.h

Issue 2314483002: Store the ScopeInfo in WithContexts (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/debug/debug-evaluate.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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW
« no previous file with comments | « src/debug/debug-evaluate.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698