summaryrefslogtreecommitdiffstats
path: root/chromium/v8/src/compiler/turboshaft/assembler.cc
blob: 5462a48f3afa5a967ff56548550428ac166deece (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2022 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.

#include "src/compiler/turboshaft/assembler.h"

#include "src/builtins/builtins.h"
#include "src/execution/isolate.h"

namespace v8::internal::compiler::turboshaft {

Handle<Code> BuiltinCodeHandle(Builtin builtin, Isolate* isolate) {
  return isolate->builtins()->code_handle(builtin);
}

}  // namespace v8::internal::compiler::turboshaft