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

Unified Diff: src/runtime/runtime.h

Issue 1292283005: Prototype CL for faster DOM accessors. Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 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.h
diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h
index fb6398845eb91743dfdea2495e530772ac1276be..8f49bfa5caa360d7e0dde4c4a8c830801aee6d8c 100644
--- a/src/runtime/runtime.h
+++ b/src/runtime/runtime.h
@@ -871,6 +871,12 @@ namespace internal {
F(LoadLookupSlot, 2, 2) \
F(LoadLookupSlotNoReferenceError, 2, 2)
+#define FOR_EACH_INTRINSIC_DIRECT_PTR_ACCESS(F) \
+ F(PtrGetFromInternalField, 2, 1) \
+ F(PtrLoadOffset, 2, 1) \
+ F(PtrLoadOffsetInt, 2, 1) \
+ F(PtrLoadOffsetObj, 1, 1) \
+ F(PtrIsNull, 1, 1)
// Most intrinsics are implemented in the runtime/ directory, but ICs are
// implemented in ic.cc for now.
@@ -931,7 +937,8 @@ namespace internal {
FOR_EACH_INTRINSIC_SYMBOL(F) \
FOR_EACH_INTRINSIC_TEST(F) \
FOR_EACH_INTRINSIC_TYPEDARRAY(F) \
- FOR_EACH_INTRINSIC_URI(F)
+ FOR_EACH_INTRINSIC_URI(F) \
+ FOR_EACH_INTRINSIC_DIRECT_PTR_ACCESS(F)
// FOR_EACH_INTRINSIC defines the list of all intrinsics, coming in 2 flavors,
// either returning an object or a pair.
« no previous file with comments | « BUILD.gn ('k') | src/runtime/runtime-ptr.cc » ('j') | src/runtime/runtime-ptr.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698