Index: src/runtime/runtime-function.cc |
diff --git a/src/runtime/runtime-function.cc b/src/runtime/runtime-function.cc |
index ac8a430761de5792f3240dd735ec81ef2f2fb812..e61aab91b19a2f951d68517b3d4747621c86d6d6 100644 |
--- a/src/runtime/runtime-function.cc |
+++ b/src/runtime/runtime-function.cc |
@@ -111,8 +111,7 @@ RUNTIME_FUNCTION(Runtime_FunctionGetContextData) { |
DCHECK_EQ(1, args.length()); |
CONVERT_ARG_CHECKED(JSFunction, fun, 0); |
- FixedArray* array = fun->native_context()->embedder_data(); |
- return array->get(v8::Context::kDebugIdIndex); |
+ return fun->native_context()->debug_context_id(); |
} |
RUNTIME_FUNCTION(Runtime_FunctionSetInstanceClassName) { |