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

Side by Side Diff: src/factory.cc

Issue 6309012: * Complete new store buffer on ia32. The store buffer now covers... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/gc/
Patch Set: '' Created 9 years, 11 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 | « no previous file | src/heap.h » ('j') | src/heap.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 737 matching lines...) Expand 10 before | Expand all | Expand 10 after
748 // allocate extra space for a literals array prefix containing the 748 // allocate extra space for a literals array prefix containing the
749 // context. 749 // context.
750 if (number_of_literals > 0) { 750 if (number_of_literals > 0) {
751 literals_array_size += JSFunction::kLiteralsPrefixSize; 751 literals_array_size += JSFunction::kLiteralsPrefixSize;
752 } 752 }
753 shared->set_num_literals(literals_array_size); 753 shared->set_num_literals(literals_array_size);
754 return shared; 754 return shared;
755 } 755 }
756 756
757 757
758 static Handle<SharedFunctionInfo> NooShFuIh(Handle<String> name) {
759 CALL_HEAP_FUNCTION(Heap::AllocateSharedFunctionInfo(*name),
760 SharedFunctionInfo);
761 }
762
763
758 Handle<SharedFunctionInfo> Factory::NewSharedFunctionInfo(Handle<String> name) { 764 Handle<SharedFunctionInfo> Factory::NewSharedFunctionInfo(Handle<String> name) {
759 CALL_HEAP_FUNCTION(Heap::AllocateSharedFunctionInfo(*name), 765 Handle<SharedFunctionInfo> a = NooShFuIh(name);
Vyacheslav Egorov (Chromium) 2011/01/21 18:18:18 revert
Erik Corry 2011/01/24 13:56:00 Done.
760 SharedFunctionInfo); 766 return a;
761 } 767 }
762 768
763 769
764 Handle<String> Factory::NumberToString(Handle<Object> number) { 770 Handle<String> Factory::NumberToString(Handle<Object> number) {
765 CALL_HEAP_FUNCTION(Heap::NumberToString(*number), String); 771 CALL_HEAP_FUNCTION(Heap::NumberToString(*number), String);
766 } 772 }
767 773
768 774
769 Handle<NumberDictionary> Factory::DictionaryAtNumberPut( 775 Handle<NumberDictionary> Factory::DictionaryAtNumberPut(
770 Handle<NumberDictionary> dictionary, 776 Handle<NumberDictionary> dictionary,
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
1053 Execution::ConfigureInstance(instance, 1059 Execution::ConfigureInstance(instance,
1054 instance_template, 1060 instance_template,
1055 pending_exception); 1061 pending_exception);
1056 } else { 1062 } else {
1057 *pending_exception = false; 1063 *pending_exception = false;
1058 } 1064 }
1059 } 1065 }
1060 1066
1061 1067
1062 } } // namespace v8::internal 1068 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/heap.h » ('j') | src/heap.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698