Improved handling of relocation information to enable more peep-hole optimizations.
Optimized switch statements where all labels are constant small integers.
Optimized String.prototype.indexOf for common cases.
Fixed more build issues (issue 80).
Fixed a couple of profiler issues.
Fixed bug where the body of a function created using the Function constructor was not allowed to end with a single-line comment (issue 85).
Improved handling of object literals by canonicalizing object literal maps. This will allow JSON objects with the same set of properties to share the same map making inline caching work better for JSON objects.
git-svn-id: http://v8.googlecode.com/svn/trunk@373 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
diff --git a/src/log.h b/src/log.h
index 1e67fe9..ef77117 100644
--- a/src/log.h
+++ b/src/log.h
@@ -181,9 +181,9 @@
// ==== Events logged by --log-regexp ====
// Regexp compilation and execution events.
- static void RegExpCompileEvent(Handle<JSValue> regexp);
+ static void RegExpCompileEvent(Handle<JSRegExp> regexp);
- static void RegExpExecEvent(Handle<JSValue> regexp,
+ static void RegExpExecEvent(Handle<JSRegExp> regexp,
int start_index,
Handle<String> input_string);
@@ -197,7 +197,7 @@
private:
// Emits the source code of a regexp. Used by regexp events.
- static void LogRegExpSource(Handle<JSValue> regexp);
+ static void LogRegExpSource(Handle<JSRegExp> regexp);
// Emits a profiler tick event. Used by the profiler thread.
static void TickEvent(TickSample* sample, bool overflow);