summaryrefslogtreecommitdiffstats
path: root/Source/JavaScriptCore
diff options
context:
space:
mode:
Diffstat (limited to 'Source/JavaScriptCore')
-rw-r--r--Source/JavaScriptCore/bytecompiler/NodesCodegen.cpp2
-rw-r--r--Source/JavaScriptCore/ftl/FTLState.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/JavaScriptCore/bytecompiler/NodesCodegen.cpp b/Source/JavaScriptCore/bytecompiler/NodesCodegen.cpp
index 06d114861..4f6e8fbb4 100644
--- a/Source/JavaScriptCore/bytecompiler/NodesCodegen.cpp
+++ b/Source/JavaScriptCore/bytecompiler/NodesCodegen.cpp
@@ -375,7 +375,7 @@ RegisterID* ArrayNode::emitBytecode(BytecodeGenerator& generator, RegisterID* ds
handleSpread:
RefPtr<RegisterID> index = generator.emitLoad(generator.newTemporary(), jsNumber(length));
- auto spreader = [this, array, index](BytecodeGenerator& generator, RegisterID* value)
+ auto spreader = [array, index](BytecodeGenerator& generator, RegisterID* value)
{
generator.emitDirectPutByVal(array.get(), index.get(), value);
generator.emitInc(index.get());
diff --git a/Source/JavaScriptCore/ftl/FTLState.cpp b/Source/JavaScriptCore/ftl/FTLState.cpp
index d62433700..2b90aa44a 100644
--- a/Source/JavaScriptCore/ftl/FTLState.cpp
+++ b/Source/JavaScriptCore/ftl/FTLState.cpp
@@ -67,7 +67,7 @@ State::State(Graph& graph)
proc = std::make_unique<Procedure>();
proc->setOriginPrinter(
- [this] (PrintStream& out, B3::Origin origin) {
+ [] (PrintStream& out, B3::Origin origin) {
out.print("DFG:", bitwise_cast<Node*>(origin.data()));
});