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

Unified Diff: src/factory.h

Issue 1230753004: [Interpreter] Add BytecodeArray class and add to SharedFunctionInfo. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Use BytecodeArray in bytecode emission path in interpreter. 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 | « include/v8.h ('k') | src/factory.cc » ('j') | src/factory.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/factory.h
diff --git a/src/factory.h b/src/factory.h
index 2de768bf138e328518ab5108c6086eff74556650..6261c546a64b2a67fe065b8edeff632b49f84c29 100644
--- a/src/factory.h
+++ b/src/factory.h
@@ -283,6 +283,9 @@ class Factory final {
Handle<ByteArray> NewByteArray(int length,
PretenureFlag pretenure = NOT_TENURED);
+ Handle<BytecodeArray> NewBytecodeArray(int length, const byte* start,
rmcilroy 2015/07/15 13:33:37 nit - /s/start/raw_bytecodes.
oth 2015/07/16 09:15:49 Done.
+ PretenureFlag pretenure = NOT_TENURED);
rmcilroy 2015/07/15 13:33:37 Let's remove the pretenure flag and just always te
oth 2015/07/16 09:15:49 Done.
+
Handle<ExternalArray> NewExternalArray(
int length,
ExternalArrayType array_type,
« no previous file with comments | « include/v8.h ('k') | src/factory.cc » ('j') | src/factory.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698