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

Unified Diff: src/runtime/runtime.h

Issue 1576093004: [Interpreter] Add ForInPrepare runtime function which returns a ObjectTriple. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Comment and variable name tweaks Created 4 years, 11 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 00893e76023bab5fe89b510730214d19dc2e7d67..969ececeed4c21869359ba89f8a2001026d50183 100644
--- a/src/runtime/runtime.h
+++ b/src/runtime/runtime.h
@@ -225,8 +225,7 @@ namespace internal {
F(InterpreterToBoolean, 1, 1) \
F(InterpreterLogicalNot, 1, 1) \
F(InterpreterTypeOf, 1, 1) \
- F(InterpreterNewClosure, 2, 1) \
- F(InterpreterForInPrepare, 1, 1)
+ F(InterpreterNewClosure, 2, 1)
#define FOR_EACH_INTRINSIC_FUNCTION(F) \
@@ -1014,6 +1013,8 @@ namespace internal {
F(LoadLookupSlot, 2, 2) \
F(LoadLookupSlotNoReferenceError, 2, 2)
+#define FOR_EACH_INTRINSIC_RETURN_TRIPLE(F) \
+ F(ForInPrepare, 1, 3)
// Most intrinsics are implemented in the runtime/ directory, but ICs are
// implemented in ic.cc for now.
@@ -1079,8 +1080,9 @@ namespace internal {
// FOR_EACH_INTRINSIC defines the list of all intrinsics, coming in 2 flavors,
// either returning an object or a pair.
-#define FOR_EACH_INTRINSIC(F) \
- FOR_EACH_INTRINSIC_RETURN_PAIR(F) \
+#define FOR_EACH_INTRINSIC(F) \
+ FOR_EACH_INTRINSIC_RETURN_TRIPLE(F) \
+ FOR_EACH_INTRINSIC_RETURN_PAIR(F) \
FOR_EACH_INTRINSIC_RETURN_OBJECT(F)

Powered by Google App Engine
This is Rietveld 408576698