Index: src/builtins/builtins.h |
diff --git a/src/builtins/builtins.h b/src/builtins/builtins.h |
index 97e55fed379f575e094a443dd44b06aed9237ff6..dc6d900f00c933f83ccb058d18552a2a0c1439f0 100644 |
--- a/src/builtins/builtins.h |
+++ b/src/builtins/builtins.h |
@@ -403,6 +403,7 @@ namespace internal { |
CPP(NumberPrototypeToString) \ |
/* ES6 section 20.1.3.7 Number.prototype.valueOf ( ) */ \ |
TFJ(NumberPrototypeValueOf, 1) \ |
+ \ |
/* Object */ \ |
CPP(ObjectAssign) \ |
CPP(ObjectCreate) \ |
@@ -578,6 +579,10 @@ class Builtins { |
static void Generate_Adaptor(MacroAssembler* masm, Address builtin_address, |
ExitFrameType exit_frame_type); |
+ static MaybeHandle<JSFunction> CompileString(Handle<Context> context, |
Yang
2016/07/19 15:00:11
Let's move this to compiler.cc after this CL.
|
+ Handle<String> source, |
+ ParseRestriction restriction); |
+ |
private: |
Builtins(); |