diff options
| author | Ben Murdoch <benm@google.com> | 2012-01-20 14:57:15 +0000 |
|---|---|---|
| committer | Ben Murdoch <benm@google.com> | 2012-01-20 14:57:15 +0000 |
| commit | 2b4ba1175df6a5a6b9b5cda034189197bf6565ec (patch) | |
| tree | 6a4c479deebb22e68c5d7b915609593adee56a92 /src/code-stubs.cc | |
| parent | 35e02d4f35686cd3d202dab09aa0fdf24651afed (diff) | |
| download | android_external_v8-2b4ba1175df6a5a6b9b5cda034189197bf6565ec.tar.gz android_external_v8-2b4ba1175df6a5a6b9b5cda034189197bf6565ec.tar.bz2 android_external_v8-2b4ba1175df6a5a6b9b5cda034189197bf6565ec.zip | |
Merge V8 at r10446: Roll to 3.6.6.19
Bug: 5688872
Change-Id: Ie6be41e043db4e38abeb6b8d92761d7cc2c294bf
Diffstat (limited to 'src/code-stubs.cc')
| -rw-r--r-- | src/code-stubs.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/code-stubs.cc b/src/code-stubs.cc index 00da4cba..724445e8 100644 --- a/src/code-stubs.cc +++ b/src/code-stubs.cc @@ -40,7 +40,7 @@ namespace internal { bool CodeStub::FindCodeInCache(Code** code_out) { Heap* heap = Isolate::Current()->heap(); int index = heap->code_stubs()->FindEntry(GetKey()); - if (index != NumberDictionary::kNotFound) { + if (index != UnseededNumberDictionary::kNotFound) { *code_out = Code::cast(heap->code_stubs()->ValueAt(index)); return true; } @@ -121,9 +121,9 @@ Handle<Code> CodeStub::GetCode() { FinishCode(*new_object); // Update the dictionary and the root in Heap. - Handle<NumberDictionary> dict = + Handle<UnseededNumberDictionary> dict = factory->DictionaryAtNumberPut( - Handle<NumberDictionary>(heap->code_stubs()), + Handle<UnseededNumberDictionary>(heap->code_stubs()), GetKey(), new_object); heap->public_set_code_stubs(*dict); @@ -165,7 +165,7 @@ MaybeObject* CodeStub::TryGetCode() { MaybeObject* maybe_new_object = heap->code_stubs()->AtNumberPut(GetKey(), code); if (maybe_new_object->ToObject(&new_object)) { - heap->public_set_code_stubs(NumberDictionary::cast(new_object)); + heap->public_set_code_stubs(UnseededNumberDictionary::cast(new_object)); } } |
