Index: src/runtime-profiler.cc |
diff --git a/src/runtime-profiler.cc b/src/runtime-profiler.cc |
index 9eb092af8e10f2cdde9146b92f3dfd6d1156e324..1871f04e91a68bb09ff0a9bb24f5ba34e50b5656 100644 |
--- a/src/runtime-profiler.cc |
+++ b/src/runtime-profiler.cc |
@@ -164,7 +164,7 @@ |
int loop_nesting_levels) { |
JSFunction* function = frame->function(); |
SharedFunctionInfo* shared = function->shared(); |
- if (!FLAG_use_osr || !function->shared()->IsUserJavaScript()) { |
+ if (!FLAG_use_osr || function->shared()->IsBuiltin()) { |
return; |
} |