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

Unified Diff: src/api-experimental.cc

Issue 2237443002: Add ToSmi and Goto operations to FastAccessorAssembler. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix 32-bit SMI overflow in test Created 4 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
« no previous file with comments | « include/v8-experimental.h ('k') | src/fast-accessor-assembler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/api-experimental.cc
diff --git a/src/api-experimental.cc b/src/api-experimental.cc
index 9b36ca40bf8e8c937698d880c2195d37563696a2..934b27aa5d8f9650b92d91a5beaf233783b9f429 100644
--- a/src/api-experimental.cc
+++ b/src/api-experimental.cc
@@ -92,6 +92,9 @@ FastAccessorBuilder::ValueId FastAccessorBuilder::LoadObject(ValueId value_id,
return FromApi(this)->LoadObject(value_id, offset);
}
+FastAccessorBuilder::ValueId FastAccessorBuilder::ToSmi(ValueId value_id) {
+ return FromApi(this)->ToSmi(value_id);
+}
void FastAccessorBuilder::ReturnValue(ValueId value) {
FromApi(this)->ReturnValue(value);
@@ -117,6 +120,9 @@ void FastAccessorBuilder::SetLabel(LabelId label_id) {
FromApi(this)->SetLabel(label_id);
}
+void FastAccessorBuilder::Goto(LabelId label_id) {
+ FromApi(this)->Goto(label_id);
+}
void FastAccessorBuilder::CheckNotZeroOrJump(ValueId value_id,
LabelId label_id) {
« no previous file with comments | « include/v8-experimental.h ('k') | src/fast-accessor-assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698