Index: src/builtins/builtins.h |
diff --git a/src/builtins/builtins.h b/src/builtins/builtins.h |
index 929446de1b47b833a8817ef141c70ba0ce23cd4e..f41f07ec35c0a144f207e0de81c21574577d075b 100644 |
--- a/src/builtins/builtins.h |
+++ b/src/builtins/builtins.h |
@@ -402,6 +402,7 @@ namespace internal { |
CPP(NumberPrototypeToString) \ |
/* ES6 section 20.1.3.7 Number.prototype.valueOf ( ) */ \ |
TFJ(NumberPrototypeValueOf, 1) \ |
+ \ |
/* Object */ \ |
CPP(ObjectAssign) \ |
CPP(ObjectCreate) \ |
@@ -576,6 +577,10 @@ class Builtins { |
static void Generate_Adaptor(MacroAssembler* masm, Address builtin_address, |
ExitFrameType exit_frame_type); |
+ static MaybeHandle<JSFunction> CompileString(Handle<Context> context, |
+ Handle<String> source, |
+ ParseRestriction restriction); |
+ |
private: |
Builtins(); |