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

Side by Side Diff: src/factory.h

Issue 1143813002: Reland "[strong] Object literals create strong objects" (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix handlification bug Created 5 years, 7 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.h ('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 10
(...skipping 652 matching lines...) Expand 10 before | Expand all | Expand 10 after
663 int end_position, 663 int end_position,
664 Handle<Object> script, 664 Handle<Object> script,
665 Handle<Object> stack_frames); 665 Handle<Object> stack_frames);
666 666
667 Handle<DebugInfo> NewDebugInfo(Handle<SharedFunctionInfo> shared); 667 Handle<DebugInfo> NewDebugInfo(Handle<SharedFunctionInfo> shared);
668 668
669 // Return a map for given number of properties using the map cache in the 669 // Return a map for given number of properties using the map cache in the
670 // native context. 670 // native context.
671 Handle<Map> ObjectLiteralMapFromCache(Handle<Context> context, 671 Handle<Map> ObjectLiteralMapFromCache(Handle<Context> context,
672 int number_of_properties, 672 int number_of_properties,
673 bool is_strong,
673 bool* is_result_from_cache); 674 bool* is_result_from_cache);
674 675
675 // Creates a new FixedArray that holds the data associated with the 676 // Creates a new FixedArray that holds the data associated with the
676 // atom regexp and stores it in the regexp. 677 // atom regexp and stores it in the regexp.
677 void SetRegExpAtomData(Handle<JSRegExp> regexp, 678 void SetRegExpAtomData(Handle<JSRegExp> regexp,
678 JSRegExp::Type type, 679 JSRegExp::Type type,
679 Handle<String> source, 680 Handle<String> source,
680 JSRegExp::Flags flags, 681 JSRegExp::Flags flags,
681 Handle<Object> match_pattern); 682 Handle<Object> match_pattern);
682 683
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
741 // Reinitialize a JSProxy into an (empty) JS object of respective type and 742 // Reinitialize a JSProxy into an (empty) JS object of respective type and
742 // size, but keeping the original prototype. The receiver must have at least 743 // size, but keeping the original prototype. The receiver must have at least
743 // the size of the new object. The object is reinitialized and behaves as an 744 // the size of the new object. The object is reinitialized and behaves as an
744 // object that has been freshly allocated. 745 // object that has been freshly allocated.
745 void ReinitializeJSProxy(Handle<JSProxy> proxy, InstanceType type, int size); 746 void ReinitializeJSProxy(Handle<JSProxy> proxy, InstanceType type, int size);
746 }; 747 };
747 748
748 } } // namespace v8::internal 749 } } // namespace v8::internal
749 750
750 #endif // V8_FACTORY_H_ 751 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/contexts.h ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698