Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index e232d2c9254ffd2c854068746de97cdd1e4b8f8f..e5bdc298f51e5ddcc9dd06263d72b25f1562e33d 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -62,12 +62,11 @@ Handle<PrototypeInfo> Factory::NewPrototypeInfo() { |
} |
-Handle<Oddball> Factory::NewOddball(Handle<Map> map, |
- const char* to_string, |
+Handle<Oddball> Factory::NewOddball(Handle<Map> map, const char* to_string, |
Handle<Object> to_number, |
- byte kind) { |
+ const char* type_of, byte kind) { |
Handle<Oddball> oddball = New<Oddball>(map, OLD_SPACE); |
- Oddball::Initialize(isolate(), oddball, to_string, to_number, kind); |
+ Oddball::Initialize(isolate(), oddball, to_string, to_number, type_of, kind); |
return oddball; |
} |