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

Unified Diff: src/snapshot/serialize.h

Issue 1289603002: Put V8 extras into the snapshot (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix comment 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
Index: src/snapshot/serialize.h
diff --git a/src/snapshot/serialize.h b/src/snapshot/serialize.h
index c92683dfccc035e566c46f36cc6d52e01ae49117..780ce0f83428b13023f84690a16ce4faa8b3ae4c 100644
--- a/src/snapshot/serialize.h
+++ b/src/snapshot/serialize.h
@@ -401,8 +401,11 @@ class SerializerDeserializer: public ObjectVisitor {
// Used for the source code for compiled stubs, which is in the executable,
// but is referred to from external strings in the snapshot.
static const int kCodeStubNativesStringResource = 0x5d;
+ // Used for the source code for V8 extras, which is in the executable,
+ // but is referred to from external strings in the snapshot.
+ static const int kExtraNativesStringResource = 0x5e;
Yang 2015/08/13 12:28:24 This is fine, but I'd group them a bit differently
- // 0x5e..0x5f unused
+ // 0x5f unused
// ---------- byte code range 0x80..0xff ----------
// First 32 root array items.

Powered by Google App Engine
This is Rietveld 408576698