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

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

Issue 1974093003: WIP: Boom (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased Created 4 years, 6 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
« no previous file with comments | « src/code-stubs.h ('k') | src/heap/heap.cc » ('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 #include "src/code-stubs.h" 5 #include "src/code-stubs.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #include "src/bootstrapper.h" 9 #include "src/bootstrapper.h"
10 #include "src/code-factory.h" 10 #include "src/code-factory.h"
(...skipping 4260 matching lines...) Expand 10 before | Expand all | Expand 10 after
4271 Runtime::FunctionForId(Runtime::kGrowArrayElements)->entry); 4271 Runtime::FunctionForId(Runtime::kGrowArrayElements)->entry);
4272 } 4272 }
4273 4273
4274 4274
4275 void TypeofStub::GenerateAheadOfTime(Isolate* isolate) { 4275 void TypeofStub::GenerateAheadOfTime(Isolate* isolate) {
4276 TypeofStub stub(isolate); 4276 TypeofStub stub(isolate);
4277 stub.GetCode(); 4277 stub.GetCode();
4278 } 4278 }
4279 4279
4280 // static 4280 // static
4281 void BoomStub::GenerateAssembly(CodeStubAssembler* assembler) const {
4282 assembler->Boom();
4283 }
4284
4285 void BoomStub::GenerateAheadOfTime(Isolate* isolate) {
4286 BoomStub stub(isolate);
4287 stub.GetCode();
4288 }
4289
4290 // static
4281 compiler::Node* HasPropertyStub::Generate(CodeStubAssembler* assembler, 4291 compiler::Node* HasPropertyStub::Generate(CodeStubAssembler* assembler,
4282 compiler::Node* key, 4292 compiler::Node* key,
4283 compiler::Node* object, 4293 compiler::Node* object,
4284 compiler::Node* context) { 4294 compiler::Node* context) {
4285 typedef compiler::Node Node; 4295 typedef compiler::Node Node;
4286 typedef CodeStubAssembler::Label Label; 4296 typedef CodeStubAssembler::Label Label;
4287 typedef CodeStubAssembler::Variable Variable; 4297 typedef CodeStubAssembler::Variable Variable;
4288 4298
4289 Label call_runtime(assembler, Label::kDeferred), return_true(assembler), 4299 Label call_runtime(assembler, Label::kDeferred), return_true(assembler),
4290 return_false(assembler), end(assembler); 4300 return_false(assembler), end(assembler);
(...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after
4739 if (type->Is(Type::UntaggedPointer())) { 4749 if (type->Is(Type::UntaggedPointer())) {
4740 return Representation::External(); 4750 return Representation::External();
4741 } 4751 }
4742 4752
4743 DCHECK(!type->Is(Type::Untagged())); 4753 DCHECK(!type->Is(Type::Untagged()));
4744 return Representation::Tagged(); 4754 return Representation::Tagged();
4745 } 4755 }
4746 4756
4747 } // namespace internal 4757 } // namespace internal
4748 } // namespace v8 4758 } // namespace v8
OLDNEW
« no previous file with comments | « src/code-stubs.h ('k') | src/heap/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698