diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2012-01-16 14:37:57 -0800 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2012-01-16 14:37:57 -0800 |
commit | 60040a4f366d436d759729530f4d19e7e1958e51 (patch) | |
tree | 953a40adf24a0826836cc69843ea80d197a12dab /deps/v8/src/code-stubs.cc | |
parent | 1afd0b52fe9bb4642a44b48dabf9d7b26d00e4ab (diff) | |
download | node-new-60040a4f366d436d759729530f4d19e7e1958e51.tar.gz |
Upgrade V8 to 3.8.6
Diffstat (limited to 'deps/v8/src/code-stubs.cc')
-rw-r--r-- | deps/v8/src/code-stubs.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/deps/v8/src/code-stubs.cc b/deps/v8/src/code-stubs.cc index 85410c3cc8..5fa9a2b5c0 100644 --- a/deps/v8/src/code-stubs.cc +++ b/deps/v8/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; } @@ -132,9 +132,9 @@ Handle<Code> CodeStub::GetCode() { AddToSpecialCache(new_object); } else { // 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); |