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

Side by Side Diff: src/codegen.h

Issue 570001: Fix build error on Win32, fix spelling of DebugerStatementStub. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 10 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/arm/codegen-arm.cc ('k') | src/codegen.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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 Label* throw_normal_exception, 341 Label* throw_normal_exception,
342 Label* throw_termination_exception, 342 Label* throw_termination_exception,
343 Label* throw_out_of_memory_exception, 343 Label* throw_out_of_memory_exception,
344 bool do_gc, 344 bool do_gc,
345 bool always_allocate_scope); 345 bool always_allocate_scope);
346 void GenerateThrowTOS(MacroAssembler* masm); 346 void GenerateThrowTOS(MacroAssembler* masm);
347 void GenerateThrowUncatchable(MacroAssembler* masm, 347 void GenerateThrowUncatchable(MacroAssembler* masm,
348 UncatchableExceptionType type); 348 UncatchableExceptionType type);
349 349
350 // Number of pointers/values returned. 350 // Number of pointers/values returned.
351 int const result_size_; 351 const int result_size_;
352 ExitFrame::Mode const mode_; 352 const ExitFrame::Mode mode_;
353 353
354 // Minor key encoding 354 // Minor key encoding
355 class ExitFrameModeBits: public BitField<ExitFrame::Mode, 0, 1> {}; 355 class ExitFrameModeBits: public BitField<ExitFrame::Mode, 0, 1> {};
356 class IndirectResultBits: public BitField<bool, 1, 1> {}; 356 class IndirectResultBits: public BitField<bool, 1, 1> {};
357 357
358 Major MajorKey() { return CEntry; } 358 Major MajorKey() { return CEntry; }
359 // Minor key must differ if different result_size_ values means different 359 // Minor key must differ if different result_size_ values means different
360 // code is generated. 360 // code is generated.
361 int MinorKey(); 361 int MinorKey();
362 362
(...skipping 20 matching lines...) Expand all
383 Major MajorKey() { return NoCache; } 383 Major MajorKey() { return NoCache; }
384 int MinorKey() { return 0; } 384 int MinorKey() { return 0; }
385 const char* GetName() { return "ApiEntryStub"; } 385 const char* GetName() { return "ApiEntryStub"; }
386 // The accessor info associated with the function. 386 // The accessor info associated with the function.
387 Handle<AccessorInfo> info_; 387 Handle<AccessorInfo> info_;
388 // The function to be called. 388 // The function to be called.
389 ApiFunction* fun_; 389 ApiFunction* fun_;
390 }; 390 };
391 391
392 392
393 // Mark the debugger statemet to be recognized by debugger (by the MajorKey) 393 // Mark the debugger statement to be recognized by debugger (by the MajorKey)
394 class DebugerStatementStub : public CodeStub { 394 class DebuggerStatementStub : public CodeStub {
395 public: 395 public:
396 DebugerStatementStub() { } 396 DebuggerStatementStub() { }
397 397
398 void Generate(MacroAssembler* masm); 398 void Generate(MacroAssembler* masm);
399 399
400 private: 400 private:
401 Major MajorKey() { return DebuggerStatement; } 401 Major MajorKey() { return DebuggerStatement; }
402 int MinorKey() { return 0; } 402 int MinorKey() { return 0; }
403 403
404 const char* GetName() { return "DebugerStatementStub"; } 404 const char* GetName() { return "DebuggerStatementStub"; }
405 }; 405 };
406 406
407 407
408 class JSEntryStub : public CodeStub { 408 class JSEntryStub : public CodeStub {
409 public: 409 public:
410 JSEntryStub() { } 410 JSEntryStub() { }
411 411
412 void Generate(MacroAssembler* masm) { GenerateBody(masm, false); } 412 void Generate(MacroAssembler* masm) { GenerateBody(masm, false); }
413 413
414 protected: 414 protected:
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
541 private: 541 private:
542 Major MajorKey() { return ToBoolean; } 542 Major MajorKey() { return ToBoolean; }
543 int MinorKey() { return 0; } 543 int MinorKey() { return 0; }
544 }; 544 };
545 545
546 546
547 } // namespace internal 547 } // namespace internal
548 } // namespace v8 548 } // namespace v8
549 549
550 #endif // V8_CODEGEN_H_ 550 #endif // V8_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/arm/codegen-arm.cc ('k') | src/codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698