| Index: src/code-stubs.cc
|
| ===================================================================
|
| --- src/code-stubs.cc (revision 7948)
|
| +++ src/code-stubs.cc (working copy)
|
| @@ -1,4 +1,4 @@
|
| -// Copyright 2006-2008 the V8 project authors. All rights reserved.
|
| +// Copyright 2011 the V8 project authors. All rights reserved.
|
| // Redistribution and use in source and binary forms, with or without
|
| // modification, are permitted provided that the following conditions are
|
| // met:
|
| @@ -29,6 +29,7 @@
|
|
|
| #include "bootstrapper.h"
|
| #include "code-stubs.h"
|
| +#include "stub-cache.h"
|
| #include "factory.h"
|
| #include "gdb-jit.h"
|
| #include "macro-assembler.h"
|
| @@ -200,6 +201,9 @@
|
| case CompareIC::STRINGS:
|
| GenerateStrings(masm);
|
| break;
|
| + case CompareIC::SYMBOLS:
|
| + GenerateSymbols(masm);
|
| + break;
|
| case CompareIC::OBJECTS:
|
| GenerateObjects(masm);
|
| break;
|
| @@ -240,4 +244,24 @@
|
| }
|
|
|
|
|
| +void KeyedLoadFastElementStub::Generate(MacroAssembler* masm) {
|
| + KeyedLoadStubCompiler::GenerateLoadFastElement(masm);
|
| +}
|
| +
|
| +
|
| +void KeyedStoreFastElementStub::Generate(MacroAssembler* masm) {
|
| + KeyedStoreStubCompiler::GenerateStoreFastElement(masm, is_js_array_);
|
| +}
|
| +
|
| +
|
| +void KeyedLoadExternalArrayStub::Generate(MacroAssembler* masm) {
|
| + KeyedLoadStubCompiler::GenerateLoadExternalArray(masm, array_type_);
|
| +}
|
| +
|
| +
|
| +void KeyedStoreExternalArrayStub::Generate(MacroAssembler* masm) {
|
| + KeyedStoreStubCompiler::GenerateStoreExternalArray(masm, array_type_);
|
| +}
|
| +
|
| +
|
| } } // namespace v8::internal
|
|
|