diff options
author | Myles Borins <mylesborins@google.com> | 2019-10-01 10:26:05 -0400 |
---|---|---|
committer | Myles Borins <myles.borins@gmail.com> | 2019-10-07 03:20:34 -0400 |
commit | eeafb263f458612403cb134ae95805ecfcfc9f5e (patch) | |
tree | 8899e8442f8f69c9338ddb0a3ebb5eff7dfa644b /deps/v8/src | |
parent | ddfc3b0a764620515bb4c5c66445f75e865611f7 (diff) | |
download | android-node-v8-eeafb263f458612403cb134ae95805ecfcfc9f5e.tar.gz android-node-v8-eeafb263f458612403cb134ae95805ecfcfc9f5e.tar.bz2 android-node-v8-eeafb263f458612403cb134ae95805ecfcfc9f5e.zip |
deps: patch V8 to 7.8.279.12
Refs: https://github.com/v8/v8/compare/7.8.279.10...7.8.279.12
PR-URL: https://github.com/nodejs/node/pull/29694
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
Diffstat (limited to 'deps/v8/src')
-rw-r--r-- | deps/v8/src/interpreter/bytecode-generator.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/deps/v8/src/interpreter/bytecode-generator.cc b/deps/v8/src/interpreter/bytecode-generator.cc index 6a0b02d852..29065d6a55 100644 --- a/deps/v8/src/interpreter/bytecode-generator.cc +++ b/deps/v8/src/interpreter/bytecode-generator.cc @@ -3030,7 +3030,9 @@ void BytecodeGenerator::BuildVariableLoad(Variable* variable, case VariableMode::kDynamicGlobal: { int depth = current_scope()->ContextChainLengthUntilOutermostSloppyEval(); - FeedbackSlot slot = GetCachedLoadGlobalICSlot(typeof_mode, variable); + // TODO(1008414): Add back caching here when bug is fixed properly. + FeedbackSlot slot = feedback_spec()->AddLoadGlobalICSlot(typeof_mode); + builder()->LoadLookupGlobalSlot(variable->raw_name(), typeof_mode, feedback_index(slot), depth); break; |