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

Side by Side Diff: src/ast.cc

Issue 90643003: Experimental implementation: Exposing SIMD instructions into JavaScript Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years 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/api.cc ('k') | src/bootstrapper.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 743 matching lines...) Expand 10 before | Expand all | Expand 10 after
754 break; 754 break;
755 case STRING_CHECK: 755 case STRING_CHECK:
756 function = native_context->string_function(); 756 function = native_context->string_function();
757 break; 757 break;
758 case SYMBOL_CHECK: 758 case SYMBOL_CHECK:
759 function = native_context->symbol_function(); 759 function = native_context->symbol_function();
760 break; 760 break;
761 case NUMBER_CHECK: 761 case NUMBER_CHECK:
762 function = native_context->number_function(); 762 function = native_context->number_function();
763 break; 763 break;
764 case FLOAT32x4_CHECK:
765 function = native_context->float32x4_function();
766 break;
767 case INT32x4_CHECK:
768 function = native_context->int32x4_function();
769 break;
764 case BOOLEAN_CHECK: 770 case BOOLEAN_CHECK:
765 function = native_context->boolean_function(); 771 function = native_context->boolean_function();
766 break; 772 break;
767 } 773 }
768 ASSERT(function != NULL); 774 ASSERT(function != NULL);
769 return Handle<JSObject>(JSObject::cast(function->instance_prototype())); 775 return Handle<JSObject>(JSObject::cast(function->instance_prototype()));
770 } 776 }
771 777
772 778
773 void Call::RecordTypeFeedback(TypeFeedbackOracle* oracle, 779 void Call::RecordTypeFeedback(TypeFeedbackOracle* oracle,
(...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after
1331 OS::SNPrintF(buffer, "%d", Smi::cast(*value_)->value()); 1337 OS::SNPrintF(buffer, "%d", Smi::cast(*value_)->value());
1332 str = arr; 1338 str = arr;
1333 } else { 1339 } else {
1334 str = DoubleToCString(value_->Number(), buffer); 1340 str = DoubleToCString(value_->Number(), buffer);
1335 } 1341 }
1336 return isolate_->factory()->NewStringFromAscii(CStrVector(str)); 1342 return isolate_->factory()->NewStringFromAscii(CStrVector(str));
1337 } 1343 }
1338 1344
1339 1345
1340 } } // namespace v8::internal 1346 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/bootstrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698