Index: src/builtins.h |
diff --git a/src/builtins.h b/src/builtins.h |
index 247ced67f7b83d9751e839556fec365420692abb..2918b9b7337d8c436f1042d13e0e24a5e24b7b9c 100644 |
--- a/src/builtins.h |
+++ b/src/builtins.h |
@@ -303,19 +303,20 @@ inline bool operator&(BuiltinExtraArguments lhs, BuiltinExtraArguments rhs) { |
CODE_AGE_LIST_WITH_ARG(DECLARE_CODE_AGE_BUILTIN, V) |
// Define list of builtins implemented in TurboFan (with JS linkage). |
-#define BUILTIN_LIST_T(V) \ |
- V(GeneratorPrototypeNext, 2) \ |
- V(GeneratorPrototypeReturn, 2) \ |
- V(GeneratorPrototypeThrow, 2) \ |
- V(MathCeil, 2) \ |
- V(MathClz32, 2) \ |
- V(MathFloor, 2) \ |
- V(MathRound, 2) \ |
- V(MathSqrt, 2) \ |
- V(MathTrunc, 2) \ |
- V(ObjectHasOwnProperty, 2) \ |
- V(StringPrototypeCharAt, 2) \ |
- V(StringPrototypeCharCodeAt, 2) |
+#define BUILTIN_LIST_T(V) \ |
+ V(GeneratorPrototypeNext, 2) \ |
+ V(GeneratorPrototypeReturn, 2) \ |
+ V(GeneratorPrototypeThrow, 2) \ |
+ V(MathCeil, 2) \ |
+ V(MathClz32, 2) \ |
+ V(MathFloor, 2) \ |
+ V(MathRound, 2) \ |
+ V(MathSqrt, 2) \ |
+ V(MathTrunc, 2) \ |
+ V(ObjectHasOwnProperty, 2) \ |
+ V(StringPrototypeCharAt, 2) \ |
+ V(StringPrototypeCharCodeAt, 2) \ |
+ V(AtomicsLoadCheck, 3) |
// Define list of builtin handlers implemented in assembly. |
#define BUILTIN_LIST_H(V) \ |
@@ -673,6 +674,8 @@ class Builtins { |
static void Generate_MarkCodeAsExecutedOnce(MacroAssembler* masm); |
static void Generate_MarkCodeAsExecutedTwice(MacroAssembler* masm); |
+ static void Generate_AtomicsLoadCheck(compiler::CodeStubAssembler* assembler); |
+ |
static void InitBuiltinFunctionTable(); |
bool initialized_; |