Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(168)

Unified Diff: test/cctest/compiler/test-run-stubs.cc

Issue 1088993003: Replace OVERRIDE->override and FINAL->final since we now require C++11. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/cctest/compiler/test-gap-resolver.cc ('k') | test/cctest/test-debug.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/compiler/test-run-stubs.cc
diff --git a/test/cctest/compiler/test-run-stubs.cc b/test/cctest/compiler/test-run-stubs.cc
index daf9a461b1d28959f033565cec349ed75c649a72..c81f0f184db0e9ff02f521ebe5322619f21938e1 100644
--- a/test/cctest/compiler/test-run-stubs.cc
+++ b/test/cctest/compiler/test-run-stubs.cc
@@ -37,11 +37,11 @@ class StringLengthStubTF : public CodeStub {
StringLengthStubTF(uint32_t key, Isolate* isolate) : CodeStub(key, isolate) {}
- CallInterfaceDescriptor GetCallInterfaceDescriptor() OVERRIDE {
+ CallInterfaceDescriptor GetCallInterfaceDescriptor() override {
return LoadDescriptor(isolate());
};
- Handle<Code> GenerateCode() OVERRIDE {
+ Handle<Code> GenerateCode() override {
Zone zone;
// Build a "hybrid" CompilationInfo for a JSFunction/CodeStub pair.
ParseInfo parse_info(&zone, GetFunction(isolate(), "STRING_LENGTH_STUB"));
@@ -53,11 +53,11 @@ class StringLengthStubTF : public CodeStub {
return Pipeline(&info).GenerateCode();
}
- Major MajorKey() const OVERRIDE { return StringLength; };
- Code::Kind GetCodeKind() const OVERRIDE { return Code::HANDLER; }
- InlineCacheState GetICState() const OVERRIDE { return MONOMORPHIC; }
- ExtraICState GetExtraICState() const OVERRIDE { return Code::LOAD_IC; }
- Code::StubType GetStubType() const OVERRIDE { return Code::FAST; }
+ Major MajorKey() const override { return StringLength; };
+ Code::Kind GetCodeKind() const override { return Code::HANDLER; }
+ InlineCacheState GetICState() const override { return MONOMORPHIC; }
+ ExtraICState GetExtraICState() const override { return Code::LOAD_IC; }
+ Code::StubType GetStubType() const override { return Code::FAST; }
private:
DISALLOW_COPY_AND_ASSIGN(StringLengthStubTF);
« no previous file with comments | « test/cctest/compiler/test-gap-resolver.cc ('k') | test/cctest/test-debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698