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

Unified Diff: src/ic.cc

Issue 7901016: Basic support for tracking smi-only arrays on ia32. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: deactivate by default Created 9 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/ic.cc
diff --git a/src/ic.cc b/src/ic.cc
index 5ba3428268b460029e9d8ef633634a8e25072c25..f89cac85144383fc2c18554117778aa0f864f0ca 100644
--- a/src/ic.cc
+++ b/src/ic.cc
@@ -87,11 +87,6 @@ void IC::TraceIC(const char* type,
// Find the function on the stack and both the active code for the
// function and the original code.
JSFunction* function = JSFunction::cast(frame->function());
-
- SmartArrayPointer<char> name = function->shared()->DebugName()->ToCString();
Sven Panne 2011/09/16 09:19:32 Debugging remnants? :-)
- if (!strcmp(*name, "draw") && !strcmp(type, "KeyedStoreIC")) {
- // asm("int3");
- }
function->PrintName();
int code_offset =
static_cast<int>(address() - js_code->instruction_start());
@@ -1695,6 +1690,7 @@ MaybeObject* KeyedIC::ComputeMonomorphicStubWithoutMapCheck(
} else {
ASSERT(receiver_map->has_dictionary_elements() ||
receiver_map->has_fast_elements() ||
+ receiver_map->has_fast_smi_only_elements() ||
receiver_map->has_fast_double_elements() ||
receiver_map->has_external_array_elements());
bool is_js_array = receiver_map->instance_type() == JS_ARRAY_TYPE;

Powered by Google App Engine
This is Rietveld 408576698