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

Unified Diff: src/isolate.h

Issue 2181323002: Make some crucial Isolate functions inlineable (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: revert overzealous inlining 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 | « no previous file | src/isolate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/isolate.h
diff --git a/src/isolate.h b/src/isolate.h
index 6b2203b9bb8b622b49f36655ec95f833c253034c..1a5a079b4fc1547c5546c130f59c498f623f5c91 100644
--- a/src/isolate.h
+++ b/src/isolate.h
@@ -778,7 +778,8 @@ class Isolate {
void IterateThread(ThreadVisitor* v, char* t);
// Returns the current native context.
- Handle<Context> native_context();
+ inline Handle<Context> native_context();
+ inline Context* raw_native_context();
// Returns the native context of the calling JavaScript code. That
// is, the native context of the top-most JavaScript frame.
@@ -1079,7 +1080,7 @@ class Isolate {
void AddBeforeCallEnteredCallback(BeforeCallEnteredCallback callback);
void RemoveBeforeCallEnteredCallback(BeforeCallEnteredCallback callback);
- void FireBeforeCallEnteredCallback();
+ inline void FireBeforeCallEnteredCallback();
void AddMicrotasksCompletedCallback(MicrotasksCompletedCallback callback);
void RemoveMicrotasksCompletedCallback(MicrotasksCompletedCallback callback);
« no previous file with comments | « no previous file | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698