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

Side by Side Diff: src/factory.h

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/elements-kind.cc ('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 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 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 295
296 Handle<Object> NewNumberFromInt(int32_t value, 296 Handle<Object> NewNumberFromInt(int32_t value,
297 PretenureFlag pretenure = NOT_TENURED); 297 PretenureFlag pretenure = NOT_TENURED);
298 Handle<Object> NewNumberFromUint(uint32_t value, 298 Handle<Object> NewNumberFromUint(uint32_t value,
299 PretenureFlag pretenure = NOT_TENURED); 299 PretenureFlag pretenure = NOT_TENURED);
300 inline Handle<Object> NewNumberFromSize(size_t value, 300 inline Handle<Object> NewNumberFromSize(size_t value,
301 PretenureFlag pretenure = NOT_TENURED); 301 PretenureFlag pretenure = NOT_TENURED);
302 Handle<HeapNumber> NewHeapNumber(double value, 302 Handle<HeapNumber> NewHeapNumber(double value,
303 PretenureFlag pretenure = NOT_TENURED); 303 PretenureFlag pretenure = NOT_TENURED);
304 304
305 Handle<Float32x4> NewFloat32x4(float32x4_value_t value,
306 PretenureFlag pretenure = NOT_TENURED);
307
308 Handle<Int32x4> NewInt32x4(int32x4_value_t value,
309 PretenureFlag pretenure = NOT_TENURED);
305 310
306 // These objects are used by the api to create env-independent data 311 // These objects are used by the api to create env-independent data
307 // structures in the heap. 312 // structures in the heap.
308 Handle<JSObject> NewNeanderObject(); 313 Handle<JSObject> NewNeanderObject();
309 314
310 Handle<JSObject> NewArgumentsObject(Handle<Object> callee, int length); 315 Handle<JSObject> NewArgumentsObject(Handle<Object> callee, int length);
311 316
312 // JS objects are pretenured when allocated by the bootstrapper and 317 // JS objects are pretenured when allocated by the bootstrapper and
313 // runtime. 318 // runtime.
314 Handle<JSObject> NewJSObject(Handle<JSFunction> constructor, 319 Handle<JSObject> NewJSObject(Handle<JSFunction> constructor,
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
588 isolate()); 593 isolate());
589 } else { 594 } else {
590 return NewNumber(static_cast<double>(value), pretenure); 595 return NewNumber(static_cast<double>(value), pretenure);
591 } 596 }
592 } 597 }
593 598
594 599
595 } } // namespace v8::internal 600 } } // namespace v8::internal
596 601
597 #endif // V8_FACTORY_H_ 602 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/elements-kind.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698