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

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

Issue 8117001: Remove #include "isolate-inl.h" from v8.h. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 2 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/code-stubs.h ('k') | src/compiler.cc » ('j') | src/frames.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 #undef DEF_CASE 188 #undef DEF_CASE
189 default: 189 default:
190 if (!allow_unknown_keys) { 190 if (!allow_unknown_keys) {
191 UNREACHABLE(); 191 UNREACHABLE();
192 } 192 }
193 return NULL; 193 return NULL;
194 } 194 }
195 } 195 }
196 196
197 197
198 void CodeStub::PrintName(StringStream* stream) {
199 stream->Add("%s", MajorName(MajorKey(), false));
200 }
201
202
198 int ICCompareStub::MinorKey() { 203 int ICCompareStub::MinorKey() {
199 return OpField::encode(op_ - Token::EQ) | StateField::encode(state_); 204 return OpField::encode(op_ - Token::EQ) | StateField::encode(state_);
200 } 205 }
201 206
202 207
203 void ICCompareStub::Generate(MacroAssembler* masm) { 208 void ICCompareStub::Generate(MacroAssembler* masm) {
204 switch (state_) { 209 switch (state_) {
205 case CompareIC::UNINITIALIZED: 210 case CompareIC::UNINITIALIZED:
206 GenerateMiss(masm); 211 GenerateMiss(masm);
207 break; 212 break;
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 } 409 }
405 410
406 411
407 bool ToBooleanStub::Types::CanBeUndetectable() const { 412 bool ToBooleanStub::Types::CanBeUndetectable() const {
408 return Contains(ToBooleanStub::SPEC_OBJECT) 413 return Contains(ToBooleanStub::SPEC_OBJECT)
409 || Contains(ToBooleanStub::STRING); 414 || Contains(ToBooleanStub::STRING);
410 } 415 }
411 416
412 417
413 } } // namespace v8::internal 418 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/code-stubs.h ('k') | src/compiler.cc » ('j') | src/frames.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698