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

Unified Diff: src/factory.cc

Issue 1254873002: [interpreter] A couple of minor tweaks to BytecodeArray. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 5 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/factory.h ('k') | src/heap/heap.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/factory.cc
diff --git a/src/factory.cc b/src/factory.cc
index 4fb5ec4644f8c972505f71a81ab9c8f647ac5ba9..e2a5e05693a1202c1f1a41b1ccc7bb47d78580ee 100644
--- a/src/factory.cc
+++ b/src/factory.cc
@@ -874,10 +874,11 @@ Handle<ByteArray> Factory::NewByteArray(int length, PretenureFlag pretenure) {
Handle<BytecodeArray> Factory::NewBytecodeArray(int length,
- const byte* raw_bytecodes) {
+ const byte* raw_bytecodes,
+ int frame_size) {
DCHECK(0 <= length);
CALL_HEAP_FUNCTION(isolate(), isolate()->heap()->AllocateBytecodeArray(
- length, raw_bytecodes),
+ length, raw_bytecodes, frame_size),
BytecodeArray);
}
« no previous file with comments | « src/factory.h ('k') | src/heap/heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698