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

Unified Diff: src/code-stubs.cc

Issue 23537067: Add support for keyed-call on arrays of fast elements (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Compare with actual map loaded from the context Created 7 years, 3 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/code-stubs.cc
diff --git a/src/code-stubs.cc b/src/code-stubs.cc
index ace4af42a9e0797723a242e8873c8ab9d7825a50..002380088b3cee37486fa5fa1c210498304f3f2a 100644
--- a/src/code-stubs.cc
+++ b/src/code-stubs.cc
@@ -43,6 +43,7 @@ CodeStubInterfaceDescriptor::CodeStubInterfaceDescriptor()
: register_param_count_(-1),
stack_parameter_count_(NULL),
hint_stack_parameter_count_(-1),
+ call_stub_(false),
function_mode_(NOT_JS_FUNCTION_STUB_MODE),
register_params_(NULL),
deoptimization_handler_(NULL),
@@ -730,6 +731,12 @@ void StubFailureTrampolineStub::GenerateAheadOfTime(Isolate* isolate) {
}
+void CallStubFailureTrampolineStub::GenerateAheadOfTime(Isolate* isolate) {
+ CallStubFailureTrampolineStub stub;
+ stub.GetCode(isolate)->set_is_pregenerated(true);
+}
+
+
void ProfileEntryHookStub::EntryHookTrampoline(intptr_t function,
intptr_t stack_pointer,
Isolate* isolate) {

Powered by Google App Engine
This is Rietveld 408576698