Reviewers: machenbach, Michael Starzinger,
Description:
[interpreter] Fix GCMole warning.
Fix GCMole warning from r29814 (7877c4e0c77b5c2b97678406eab7e9ad6eba4a4d).
BUG=v8:4280
LOG=N
NOTREECHECKS=true
TBR=machenbach
Please review this at https://codereview.chromium.org/1243893004/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+7, -7 lines):
M src/interpreter/interpreter.cc
Index: src/interpreter/interpreter.cc
diff --git a/src/interpreter/interpreter.cc b/src/interpreter/interpreter.cc
index
4e16d28199c8e0d04dacdc4c4322cd3bd93e5714..b6c9ebfb6869562da930ea5350b6050eca71095e
100644
--- a/src/interpreter/interpreter.cc
+++ b/src/interpreter/interpreter.cc
@@ -30,13 +30,13 @@ void Interpreter::Initialize(bool create_heap_objects) {
static_cast<int>(Bytecode::kLast) + 1, TENURED);
isolate_->heap()->public_set_interpreter_table(*handler_table);
-#define GENERATE_CODE(Name, _) \
- { \
- compiler::InterpreterAssembler assembler(isolate_, &zone, \
- Bytecode::k##Name); \
- Do##Name(&assembler); \
- handler_table->set(static_cast<int>(Bytecode::k##Name), \
- *assembler.GenerateCode()); \
+#define GENERATE_CODE(Name, _) \
+ { \
+ compiler::InterpreterAssembler assembler(isolate_, &zone, \
+ Bytecode::k##Name); \
+ Do##Name(&assembler); \
+ Handle<Code> code = assembler.GenerateCode(); \
+ handler_table->set(static_cast<int>(Bytecode::k##Name), *code); \
}
BYTECODE_LIST(GENERATE_CODE)
#undef GENERATE_CODE
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.