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

Unified Diff: src/full-codegen.cc

Issue 458813002: Prototype implementation of GET_OWN_PROPERTY intrinsic. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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
« no previous file with comments | « src/full-codegen.h ('k') | src/hydrogen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/full-codegen.cc
diff --git a/src/full-codegen.cc b/src/full-codegen.cc
index 0297f88f581112500e726f32de41e0bd5421f54b..dbe7a20ff6d7abb5b412d9b21dba301cf9fd78a7 100644
--- a/src/full-codegen.cc
+++ b/src/full-codegen.cc
@@ -405,13 +405,25 @@ void FullCodeGenerator::PrepareForBailout(Expression* node, State state) {
void FullCodeGenerator::CallLoadIC(ContextualMode contextual_mode,
+ LoadIC::PropertyLookupMode property_lookup_mode,
TypeFeedbackId id) {
- ExtraICState extra_state = LoadIC::ComputeExtraICState(contextual_mode);
+ ExtraICState extra_state = LoadIC::ComputeExtraICState(
+ contextual_mode, property_lookup_mode);
Handle<Code> ic = LoadIC::initialize_stub(isolate(), extra_state);
CallIC(ic, id);
}
+void FullCodeGenerator::CallKeyedLoadIC(
+ LoadIC::PropertyLookupMode property_lookup_mode,
+ TypeFeedbackId id) {
+ ExtraICState extra_state = LoadIC::ComputeExtraICState(
+ NOT_CONTEXTUAL, property_lookup_mode);
+ Handle<Code> ic = KeyedLoadIC::initialize_stub(isolate(), extra_state);
+ CallIC(ic, id);
+}
+
+
void FullCodeGenerator::CallStoreIC(TypeFeedbackId id) {
Handle<Code> ic = StoreIC::initialize_stub(isolate(), strict_mode());
CallIC(ic, id);
« no previous file with comments | « src/full-codegen.h ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698