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

Unified Diff: src/code-stubs-hydrogen.cc

Issue 11411351: Implement basic array prefetching hints in Hydrogen. Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 7 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/flag-definitions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/code-stubs-hydrogen.cc
===================================================================
--- src/code-stubs-hydrogen.cc (revision 13350)
+++ src/code-stubs-hydrogen.cc (working copy)
@@ -82,6 +82,11 @@
context_ = new(zone()) HContext();
AddInstruction(context_);
+ HConstant* undefined_constant = new(zone()) HConstant(
+ info_.isolate()->factory()->undefined_value(), Representation::Tagged());
+ AddInstruction(undefined_constant);
+ graph()->set_undefined_constant(undefined_constant);
+
int major_key = stub()->MajorKey();
CodeStubInterfaceDescriptor* descriptor =
info_.isolate()->code_stub_interface_descriptor(major_key);
« no previous file with comments | « no previous file | src/flag-definitions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698