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

Unified Diff: src/builtins/builtins.h

Issue 2840493002: [snapshot] full setup delegate should also be able to deserialize. (Closed)
Patch Set: fix comment Created 3 years, 8 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 | « no previous file | src/setup-isolate.h » ('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 9da714bc0ff783e0f126d25d1e5e6459205a93a2..4ac899a2b6d609172a7e09be896e95ed25f3952a 100644
--- a/src/builtins/builtins.h
+++ b/src/builtins/builtins.h
@@ -90,6 +90,12 @@ class Builtins {
bool is_initialized() const { return initialized_; }
+ // Used by SetupIsolateDelegate and Deserializer.
+ void MarkInitialized() {
+ DCHECK(!initialized_);
+ initialized_ = true;
+ }
+
MUST_USE_RESULT static MaybeHandle<Object> InvokeApiFunction(
Isolate* isolate, bool is_construct, Handle<HeapObject> function,
Handle<Object> receiver, int argc, Handle<Object> args[],
@@ -105,11 +111,6 @@ class Builtins {
private:
Builtins();
- // Used by SetupIsolateDelegate.
- void MarkInitialized() {
- DCHECK(!initialized_);
- initialized_ = true;
- }
static void Generate_CallFunction(MacroAssembler* masm,
ConvertReceiverMode mode,
« no previous file with comments | « no previous file | src/setup-isolate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698