Step 1/3 adds function declaration that take SourceLocation in v8-platform. Follow up: - Implement embedders - Add source location by default. Bug: chromium:1424158 Change-Id: I98be814e06f5663a1d41fc5581e892b999e0219d Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4336198 Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Commit-Queue: Etienne Pierre-Doray <etiennep@chromium.org> Cr-Commit-Position: refs/heads/main@{#86951}
17 lines
414 B
C++
17 lines
414 B
C++
// Copyright 2020 the V8 project authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#ifndef INCLUDE_CPPGC_SOURCE_LOCATION_H_
|
|
#define INCLUDE_CPPGC_SOURCE_LOCATION_H_
|
|
|
|
#include "v8-source-location.h"
|
|
|
|
namespace cppgc {
|
|
|
|
using SourceLocation = v8::SourceLocation;
|
|
|
|
} // namespace cppgc
|
|
|
|
#endif // INCLUDE_CPPGC_SOURCE_LOCATION_H_
|