Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(882)

Unified Diff: test/cctest/interpreter/test-interpreter.cc

Issue 1278413002: [interpreter] Fix nosnap build for interpreter table generation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove create_heap_objects Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/isolate.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/interpreter/test-interpreter.cc
diff --git a/test/cctest/interpreter/test-interpreter.cc b/test/cctest/interpreter/test-interpreter.cc
index 183348d3ce3943f44c709723ff7ec92a324a9a89..c3ecc5811122d9b472c2dca4b99b46753f6ecd57 100644
--- a/test/cctest/interpreter/test-interpreter.cc
+++ b/test/cctest/interpreter/test-interpreter.cc
@@ -35,13 +35,8 @@ class InterpreterTester {
InterpreterTester(Isolate* isolate, Handle<BytecodeArray> bytecode)
: isolate_(isolate), function_(GetBytecodeFunction(isolate, bytecode)) {
i::FLAG_ignition = true;
- Handle<FixedArray> empty_array = isolate->factory()->empty_fixed_array();
- Handle<FixedArray> interpreter_table =
- isolate->factory()->interpreter_table();
- if (interpreter_table.is_identical_to(empty_array)) {
- // Ensure handler table is generated.
- isolate->interpreter()->Initialize(true);
- }
+ // Ensure handler table is generated.
+ isolate->interpreter()->Initialize();
}
virtual ~InterpreterTester() {}
« no previous file with comments | « src/isolate.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698