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

Side by Side Diff: src/factory.cc

Issue 6410112: Implement crankshaft support for pixel array loads. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: merge with latest Created 9 years, 10 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/factory.h ('k') | src/hydrogen.h » ('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 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 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 Handle<Map> Factory::GetFastElementsMap(Handle<Map> src) { 327 Handle<Map> Factory::GetFastElementsMap(Handle<Map> src) {
328 CALL_HEAP_FUNCTION(src->GetFastElementsMap(), Map); 328 CALL_HEAP_FUNCTION(src->GetFastElementsMap(), Map);
329 } 329 }
330 330
331 331
332 Handle<Map> Factory::GetSlowElementsMap(Handle<Map> src) { 332 Handle<Map> Factory::GetSlowElementsMap(Handle<Map> src) {
333 CALL_HEAP_FUNCTION(src->GetSlowElementsMap(), Map); 333 CALL_HEAP_FUNCTION(src->GetSlowElementsMap(), Map);
334 } 334 }
335 335
336 336
337 Handle<Map> Factory::GetPixelArrayElementsMap(Handle<Map> src) {
338 CALL_HEAP_FUNCTION(src->GetPixelArrayElementsMap(), Map);
339 }
340
341
337 Handle<FixedArray> Factory::CopyFixedArray(Handle<FixedArray> array) { 342 Handle<FixedArray> Factory::CopyFixedArray(Handle<FixedArray> array) {
338 CALL_HEAP_FUNCTION(array->Copy(), FixedArray); 343 CALL_HEAP_FUNCTION(array->Copy(), FixedArray);
339 } 344 }
340 345
341 346
342 Handle<JSFunction> Factory::BaseNewFunctionFromSharedFunctionInfo( 347 Handle<JSFunction> Factory::BaseNewFunctionFromSharedFunctionInfo(
343 Handle<SharedFunctionInfo> function_info, 348 Handle<SharedFunctionInfo> function_info,
344 Handle<Map> function_map, 349 Handle<Map> function_map,
345 PretenureFlag pretenure) { 350 PretenureFlag pretenure) {
346 CALL_HEAP_FUNCTION(Heap::AllocateFunction(*function_map, 351 CALL_HEAP_FUNCTION(Heap::AllocateFunction(*function_map,
(...skipping 724 matching lines...) Expand 10 before | Expand all | Expand 10 after
1071 Execution::ConfigureInstance(instance, 1076 Execution::ConfigureInstance(instance,
1072 instance_template, 1077 instance_template,
1073 pending_exception); 1078 pending_exception);
1074 } else { 1079 } else {
1075 *pending_exception = false; 1080 *pending_exception = false;
1076 } 1081 }
1077 } 1082 }
1078 1083
1079 1084
1080 } } // namespace v8::internal 1085 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/factory.h ('k') | src/hydrogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698