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

Unified Diff: src/runtime/runtime-simd.cc

Issue 1266013006: [stubs] Unify (and optimize) implementation of ToObject. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: src/runtime/runtime-simd.cc
diff --git a/src/runtime/runtime-simd.cc b/src/runtime/runtime-simd.cc
index 5c60ad501ff224bdc02715d3b01d8a91dcd92a1d..12c317147326b6fe36994302b8fc7be75f2104c9 100644
--- a/src/runtime/runtime-simd.cc
+++ b/src/runtime/runtime-simd.cc
@@ -33,14 +33,6 @@
NumberTo##type##Component(*y), NumberTo##type##Component(*z)); \
}
-#define SIMD_CREATE_WRAPPER_FUNCTION(type) \
- RUNTIME_FUNCTION(Runtime_New##type##Wrapper) { \
- HandleScope scope(isolate); \
- DCHECK(args.length() == 1); \
- CONVERT_ARG_HANDLE_CHECKED(type, value, 0); \
- return *Object::ToObject(isolate, value).ToHandleChecked(); \
- }
-
#define SIMD_CHECK_FUNCTION(type) \
RUNTIME_FUNCTION(Runtime_##type##Check) { \
HandleScope scope(isolate); \
@@ -101,7 +93,6 @@
#define SIMD4_FUNCTIONS(type) \
SIMD4_CREATE_FUNCTION(type) \
- SIMD_CREATE_WRAPPER_FUNCTION(type) \
SIMD_CHECK_FUNCTION(type) \
SIMD4_EXTRACT_LANE_FUNCTION(type) \
SIMD4_EQUALS_FUNCTION(type) \
@@ -125,5 +116,6 @@ inline bool Equals(float x, float y) { return x == y; }
} // namespace
SIMD4_FUNCTIONS(Float32x4)
-}
-} // namespace v8::internal
+
+} // namespace internal
+} // namespace v8

Powered by Google App Engine
This is Rietveld 408576698