Upgrade V8 to 8.8.278.14
Bug: 162604069
Bug: 167389063
Test: gts-tradefed run gts-dev --module GtsGmscoreHostTestCases
--test com.google.android.gts.devicepolicy.DeviceOwnerTest#testProxyPacProxyTest
Test: m -j proxy_resolver_v8_unittest && adb sync && adb shell \
/data/nativetest/proxy_resolver_v8_unittest/proxy_resolver_v8_unittest
Merged-In: Ifb09923b9d7f6d8990fb062d7dc0294edf2c098e
Change-Id: Ifb09923b9d7f6d8990fb062d7dc0294edf2c098e
(cherry picked from commit 9580a23bc5b8874a0979001d3595d027cbb68128)
diff --git a/src/builtins/builtins-lazy-gen.h b/src/builtins/builtins-lazy-gen.h
new file mode 100644
index 0000000..b51dcb5
--- /dev/null
+++ b/src/builtins/builtins-lazy-gen.h
@@ -0,0 +1,37 @@
+// Copyright 2018 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 V8_BUILTINS_BUILTINS_LAZY_GEN_H_
+#define V8_BUILTINS_BUILTINS_LAZY_GEN_H_
+
+#include "src/codegen/code-stub-assembler.h"
+
+namespace v8 {
+namespace internal {
+
+class LazyBuiltinsAssembler : public CodeStubAssembler {
+ public:
+ using Descriptor = JSTrampolineDescriptor;
+
+ explicit LazyBuiltinsAssembler(compiler::CodeAssemblerState* state)
+ : CodeStubAssembler(state) {}
+
+ void GenerateTailCallToJSCode(TNode<Code> code, TNode<JSFunction> function);
+
+ void GenerateTailCallToReturnedCode(Runtime::FunctionId function_id,
+ TNode<JSFunction> function);
+ void TailCallRuntimeIfMarkerEquals(TNode<Uint32T> marker,
+ OptimizationMarker expected_marker,
+ Runtime::FunctionId function_id,
+ TNode<JSFunction> function);
+
+ void MaybeTailCallOptimizedCodeSlot(TNode<JSFunction> function,
+ TNode<FeedbackVector> feedback_vector);
+ void CompileLazy(TNode<JSFunction> function);
+};
+
+} // namespace internal
+} // namespace v8
+
+#endif // V8_BUILTINS_BUILTINS_LAZY_GEN_H_