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

Unified Diff: src/heap/heap.cc

Issue 1606493002: [interpreter] Add field for handler table to bytecode array. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 11 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 | « no previous file | src/objects.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/heap.cc
diff --git a/src/heap/heap.cc b/src/heap/heap.cc
index b49393d6655281272247d7470f8dbbe875cc64b9..0de91785849e9258261e859eea2889571472ea8b 100644
--- a/src/heap/heap.cc
+++ b/src/heap/heap.cc
@@ -3056,6 +3056,7 @@ AllocationResult Heap::AllocateBytecodeArray(int length,
instance->set_frame_size(frame_size);
instance->set_parameter_count(parameter_count);
instance->set_constant_pool(constant_pool);
+ instance->set_handler_table(empty_fixed_array());
CopyBytes(instance->GetFirstBytecodeAddress(), raw_bytecodes, length);
return result;
« no previous file with comments | « no previous file | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698