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

Side by Side Diff: src/heap-snapshot-generator.cc

Issue 88043002: Out-of-line constant pool on Arm: Stage 3 - Set Constant Pool Pointer on Function Entry (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Clean up EnterArgumentsAdaptorFrame Created 7 years 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 1220 matching lines...) Expand 10 before | Expand all | Expand 10 after
1231 js_fun->literals_or_bindings(), 1231 js_fun->literals_or_bindings(),
1232 JSFunction::kLiteralsOffset); 1232 JSFunction::kLiteralsOffset);
1233 TagObject(shared_info, "(shared function info)"); 1233 TagObject(shared_info, "(shared function info)");
1234 SetInternalReference(js_fun, entry, 1234 SetInternalReference(js_fun, entry,
1235 "shared", shared_info, 1235 "shared", shared_info,
1236 JSFunction::kSharedFunctionInfoOffset); 1236 JSFunction::kSharedFunctionInfoOffset);
1237 TagObject(js_fun->context(), "(context)"); 1237 TagObject(js_fun->context(), "(context)");
1238 SetInternalReference(js_fun, entry, 1238 SetInternalReference(js_fun, entry,
1239 "context", js_fun->context(), 1239 "context", js_fun->context(),
1240 JSFunction::kContextOffset); 1240 JSFunction::kContextOffset);
1241 SetInternalReference(js_fun, entry,
1242 "constant_pool", js_fun->constant_pool(),
1243 JSFunction::kConstantPoolOffset);
1241 for (int i = JSFunction::kNonWeakFieldsEndOffset; 1244 for (int i = JSFunction::kNonWeakFieldsEndOffset;
1242 i < JSFunction::kSize; 1245 i < JSFunction::kSize;
1243 i += kPointerSize) { 1246 i += kPointerSize) {
1244 SetWeakReference(js_fun, entry, i, *HeapObject::RawField(js_fun, i), i); 1247 SetWeakReference(js_fun, entry, i, *HeapObject::RawField(js_fun, i), i);
1245 } 1248 }
1246 } else if (obj->IsGlobalObject()) { 1249 } else if (obj->IsGlobalObject()) {
1247 GlobalObject* global_obj = GlobalObject::cast(obj); 1250 GlobalObject* global_obj = GlobalObject::cast(obj);
1248 SetInternalReference(global_obj, entry, 1251 SetInternalReference(global_obj, entry,
1249 "builtins", global_obj->builtins(), 1252 "builtins", global_obj->builtins(),
1250 GlobalObject::kBuiltinsOffset); 1253 GlobalObject::kBuiltinsOffset);
(...skipping 1827 matching lines...) Expand 10 before | Expand all | Expand 10 after
3078 writer_->AddString("\"<dummy>\""); 3081 writer_->AddString("\"<dummy>\"");
3079 for (int i = 1; i < sorted_strings.length(); ++i) { 3082 for (int i = 1; i < sorted_strings.length(); ++i) {
3080 writer_->AddCharacter(','); 3083 writer_->AddCharacter(',');
3081 SerializeString(sorted_strings[i]); 3084 SerializeString(sorted_strings[i]);
3082 if (writer_->aborted()) return; 3085 if (writer_->aborted()) return;
3083 } 3086 }
3084 } 3087 }
3085 3088
3086 3089
3087 } } // namespace v8::internal 3090 } } // namespace v8::internal
OLDNEW
« src/arm/macro-assembler-arm.cc ('K') | « src/heap.cc ('k') | src/hydrogen-instructions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698