summaryrefslogtreecommitdiffstats
path: root/src/codegen.cc
diff options
context:
space:
mode:
authorLeon Clarke <leonclarke@google.com>2010-01-27 16:31:12 +0000
committerLeon Clarke <leonclarke@google.com>2010-01-27 16:31:12 +0000
commiteab96aab0834f21954b5d6aa6366bcfb348ed811 (patch)
treea057ce0ab4f5fa5f37a3f468c60f750488908209 /src/codegen.cc
parent888f6729be6a6f6fbe246cb5a9f122e2dbe455b7 (diff)
downloadandroid_external_v8-eab96aab0834f21954b5d6aa6366bcfb348ed811.tar.gz
android_external_v8-eab96aab0834f21954b5d6aa6366bcfb348ed811.tar.bz2
android_external_v8-eab96aab0834f21954b5d6aa6366bcfb348ed811.zip
Revert "Pull from svn bleeding_edge@3716"
This reverts commit 888f6729be6a6f6fbe246cb5a9f122e2dbe455b7. (Waiting until v8 issue 554101 is in v8 rather than patching it straight into android)
Diffstat (limited to 'src/codegen.cc')
-rw-r--r--src/codegen.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/codegen.cc b/src/codegen.cc
index aa2a2b82..fd7e0e80 100644
--- a/src/codegen.cc
+++ b/src/codegen.cc
@@ -217,10 +217,6 @@ Handle<Code> CodeGenerator::MakeCodeEpilogue(FunctionLiteral* fun,
Handle<Code> CodeGenerator::MakeCode(FunctionLiteral* fun,
Handle<Script> script,
bool is_eval) {
- if (!script->IsUndefined() && !script->source()->IsUndefined()) {
- int len = String::cast(script->source())->length();
- Counters::total_old_codegen_source_size.Increment(len);
- }
MakeCodePrologue(fun);
// Generate code.
const int kInitialBufferSize = 4 * KB;
@@ -348,7 +344,6 @@ CodeGenerator::InlineRuntimeLUT CodeGenerator::kInlineRuntimeLUT[] = {
{&CodeGenerator::GenerateRandomPositiveSmi, "_RandomPositiveSmi"},
{&CodeGenerator::GenerateIsObject, "_IsObject"},
{&CodeGenerator::GenerateIsFunction, "_IsFunction"},
- {&CodeGenerator::GenerateIsUndetectableObject, "_IsUndetectableObject"},
{&CodeGenerator::GenerateStringAdd, "_StringAdd"},
{&CodeGenerator::GenerateSubString, "_SubString"},
{&CodeGenerator::GenerateStringCompare, "_StringCompare"},