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

Side by Side Diff: src/code-stubs.h

Issue 484643002: Version 3.28.71.3 (merged r23081) (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.28
Patch Set: Created 6 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/base/platform/platform.h ('k') | src/effects.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_CODE_STUBS_H_ 5 #ifndef V8_CODE_STUBS_H_
6 #define V8_CODE_STUBS_H_ 6 #define V8_CODE_STUBS_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/assembler.h" 9 #include "src/assembler.h"
10 #include "src/codegen.h" 10 #include "src/codegen.h"
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after
430 }; 430 };
431 431
432 432
433 class HydrogenCodeStub : public CodeStub { 433 class HydrogenCodeStub : public CodeStub {
434 public: 434 public:
435 enum InitializationState { 435 enum InitializationState {
436 UNINITIALIZED, 436 UNINITIALIZED,
437 INITIALIZED 437 INITIALIZED
438 }; 438 };
439 439
440 HydrogenCodeStub(Isolate* isolate, InitializationState state = INITIALIZED) 440 explicit HydrogenCodeStub(Isolate* isolate,
441 InitializationState state = INITIALIZED)
441 : CodeStub(isolate) { 442 : CodeStub(isolate) {
442 is_uninitialized_ = (state == UNINITIALIZED); 443 is_uninitialized_ = (state == UNINITIALIZED);
443 } 444 }
444 445
445 virtual Code::Kind GetCodeKind() const { return Code::STUB; } 446 virtual Code::Kind GetCodeKind() const { return Code::STUB; }
446 447
447 CodeStubInterfaceDescriptor* GetInterfaceDescriptor() { 448 CodeStubInterfaceDescriptor* GetInterfaceDescriptor() {
448 return isolate()->code_stub_interface_descriptor(MajorKey()); 449 return isolate()->code_stub_interface_descriptor(MajorKey());
449 } 450 }
450 451
(...skipping 2074 matching lines...) Expand 10 before | Expand all | Expand 10 after
2525 2526
2526 2527
2527 class CallDescriptors { 2528 class CallDescriptors {
2528 public: 2529 public:
2529 static void InitializeForIsolate(Isolate* isolate); 2530 static void InitializeForIsolate(Isolate* isolate);
2530 }; 2531 };
2531 2532
2532 } } // namespace v8::internal 2533 } } // namespace v8::internal
2533 2534
2534 #endif // V8_CODE_STUBS_H_ 2535 #endif // V8_CODE_STUBS_H_
OLDNEW
« no previous file with comments | « src/base/platform/platform.h ('k') | src/effects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698