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

Unified Diff: src/builtins/builtins.h

Issue 2165593002: [builtins] Move builtins into own files (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove builtins-error.cc from BUILD.gn Created 4 years, 5 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 | « BUILD.gn ('k') | src/builtins/builtins.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « BUILD.gn ('k') | src/builtins/builtins.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698