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

Unified Diff: src/full-codegen.cc

Issue 96083005: Remove Reloc::Mode CODE_TARGET_CONTEXT (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/full-codegen.h ('k') | src/ia32/full-codegen-ia32.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 a40b61e5c91f6b8854db0300f11dd247535404b4..9690f1c5bd07dc5cd5a84224cfbc6c0a5f8e06de 100644
--- a/src/full-codegen.cc
+++ b/src/full-codegen.cc
@@ -436,12 +436,23 @@ void FullCodeGenerator::PopulateTypeFeedbackCells(Handle<Code> code) {
}
-
void FullCodeGenerator::PrepareForBailout(Expression* node, State state) {
PrepareForBailoutForId(node->id(), state);
}
+void FullCodeGenerator::CallLoadIC(ContextualMode mode, TypeFeedbackId id) {
+ Handle<Code> ic = LoadIC::initialize_stub(isolate(), mode);
+ CallIC(ic, mode, id);
+}
+
+
+void FullCodeGenerator::CallStoreIC(ContextualMode mode, TypeFeedbackId id) {
+ Handle<Code> ic = StoreIC::initialize_stub(isolate(), strict_mode(), mode);
+ CallIC(ic, mode, id);
+}
+
+
void FullCodeGenerator::RecordJSReturnSite(Call* call) {
// We record the offset of the function return so we can rebuild the frame
// if the function was inlined, i.e., this is the return address in the
« no previous file with comments | « src/full-codegen.h ('k') | src/ia32/full-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698