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

Side by Side Diff: src/factory.h

Issue 160073006: Implement handling of arrow functions in the parser (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Extra parens in parameter lists now recognized, no longer segfaults on "()" Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « src/compiler.cc ('k') | src/factory.cc » ('j') | src/parser.h » ('J')
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 "isolate.h" 8 #include "isolate.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 580 matching lines...) Expand 10 before | Expand all | Expand 10 after
591 591
592 Handle<String> hidden_string() { 592 Handle<String> hidden_string() {
593 return Handle<String>(&isolate()->heap()->hidden_string_); 593 return Handle<String>(&isolate()->heap()->hidden_string_);
594 } 594 }
595 595
596 // Allocates a new SharedFunctionInfo object. 596 // Allocates a new SharedFunctionInfo object.
597 Handle<SharedFunctionInfo> NewSharedFunctionInfo( 597 Handle<SharedFunctionInfo> NewSharedFunctionInfo(
598 Handle<String> name, 598 Handle<String> name,
599 int number_of_literals, 599 int number_of_literals,
600 bool is_generator, 600 bool is_generator,
601 bool is_arrow,
601 Handle<Code> code, 602 Handle<Code> code,
602 Handle<ScopeInfo> scope_info, 603 Handle<ScopeInfo> scope_info,
603 Handle<FixedArray> feedback_vector); 604 Handle<FixedArray> feedback_vector);
604 Handle<SharedFunctionInfo> NewSharedFunctionInfo(Handle<String> name, 605 Handle<SharedFunctionInfo> NewSharedFunctionInfo(Handle<String> name,
605 MaybeHandle<Code> code); 606 MaybeHandle<Code> code);
606 607
607 // Allocate a new type feedback vector 608 // Allocate a new type feedback vector
608 Handle<FixedArray> NewTypeFeedbackVector(int slot_count); 609 Handle<FixedArray> NewTypeFeedbackVector(int slot_count);
609 610
610 // Allocates a new JSMessageObject object. 611 // Allocates a new JSMessageObject object.
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
694 PretenureFlag pretenure = TENURED); 695 PretenureFlag pretenure = TENURED);
695 696
696 Handle<JSFunction> NewFunction(Handle<Map> map, 697 Handle<JSFunction> NewFunction(Handle<Map> map,
697 Handle<String> name, 698 Handle<String> name,
698 MaybeHandle<Code> maybe_code); 699 MaybeHandle<Code> maybe_code);
699 }; 700 };
700 701
701 } } // namespace v8::internal 702 } } // namespace v8::internal
702 703
703 #endif // V8_FACTORY_H_ 704 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/compiler.cc ('k') | src/factory.cc » ('j') | src/parser.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698